angler-fishThe Vulnerability History Project

Unify parse_argv style

      getopt is usually good at printing out a nice error message when
commandline options are invalid. It distinguishes between an unknown
option and a known option with a missing arg. It is better to let it
do its job and not use opterr=0 unless we actually want to suppress
messages. So remove opterr=0 in the few places where it wasn't really
useful.

When an error in options is encountered, we should not print a lengthy
help() and overwhelm the user, when we know precisely what is wrong
with the commandline. In addition, since help() prints to stdout, it
should not be used except when requested with -h or --help.

Also, simplify things here and there.
    
commit 601185b43da638b1c74153deae01dbd518680889
-5
+7 -5
+10 -1
+12 -10
+9 -6
+20 -13
+13 -19
+2 -1
+9 -6
+9 -6
+5 -5
+8 -1
+8 -4
+10 -8
+9 -6
+9 -6
+9 -6
+5 -3
+2 -1
+9 -6
+24 -22
+6 -4
+5 -3
+9 -6
+9 -6
+9 -6
+7 -4
+7 -4
+7 -4
+9 -6
+7 -4
+7 -4
+15 -12
+17 -13
+2 -1
+7 -4
+8 -5
+10 -6
+9 -6
+35 -22
+9 -6
+8 -14
+7 -4
+7 -4
+8 -5
+13 -10
expand_less