colortail icon indicating copy to clipboard operation
colortail copied to clipboard

Option "-h" documented, but not functional

Open barsnick opened this issue 5 years ago • 0 comments

colortail self-documents the -h option, but doesn't implement it correctly:

$ colortail -h
colortail: invalid option -- ?
Try 'colortail --help' for more information.

I'm too lazy to create a PR, since the fix is trivial:

-      c = getopt_long(argc, argv, "qvn:fk:l", long_options, NULL);
+      c = getopt_long(argc, argv, "qvhn:fk:l", long_options, NULL);

Cheers!

barsnick avatar May 14 '20 22:05 barsnick