Thumbnail

rani/cscroll.git

Clone URL: https://git.buni.party/rani/cscroll.git

commit 4de90053a724b80d8a4595cbbb7a17fd2c8eb904 Author: rani <clagv.randomgames@gmail.com> Date: Sat Aug 27 21:34:21 2022 +0000 Remove -h option for ls compatibility diff --git a/src/main.c b/src/main.c index 13ec7e3..49cf031 100644 --- a/src/main.c +++ b/src/main.c @@ -387 +387 @@ int main(int argc, char ** argv) {  #endif   } else if (!strcmp(argv[i], "-l")) {   p_long = true; - } else if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) { + } else if (!strcmp(argv[i], "--help")) {   help();   } else if (!strcmp(argv[i], "--oneshot")) {   oneshot = true; @@ -4477 +4477 @@ void help(void) {   " cscroll [OPTION]... [DIR]\n"   "\n"   "Options:\n" - " -h, --help Show this screen and exit\n" + " --help Show this screen and exit\n"   " -nc Turn off colors\n"  #if ICONS   " -ni Turn off icons\n"