w: fix broken -o (old-style) short form option

This commit is contained in:
Jim Warner 2011-12-28 01:27:27 -06:00 committed by Craig Small
parent 131f935c49
commit 94468ac0b3

2
w.c
View File

@ -352,7 +352,7 @@ int main(int argc, char **argv)
#endif
while ((ch =
getopt_long(argc, argv, "hlusfV", longopts, NULL)) != -1)
getopt_long(argc, argv, "husfoV", longopts, NULL)) != -1)
switch (ch) {
case 'h':
header = 0;