colrm: fix argument parsing

Short options had all sortss of characters listed, that were clearly copied
from col(1) command getopt_long() invocation.  Luckily both -V and -h were
part of the short options, but lets get rid of the unnecessary ones.

Fixes: 1647d032a7
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2020-10-19 21:57:04 +01:00
parent 06229abccf
commit c7ad82209a
No known key found for this signature in database
GPG Key ID: 0D46FEF7E61DBB46
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ int main(int argc, char **argv)
close_stdout_atexit();
while ((opt =
getopt_long(argc, argv, "bfhl:pxVH", longopts,
getopt_long(argc, argv, "Vh", longopts,
NULL)) != -1)
switch (opt) {
case 'V':