summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-29 01:13:56 +0000
committerMiles Bader <miles@gnu.org>1996-07-29 01:13:56 +0000
commit52702492cc2eda0843272638a3bd5d395e3e3470 (patch)
tree142a98adc9b54a43e81a2889bc09aa00286234dd /utils
parentdbcb1277703d31e38731533dbeade0c28c8ff73c (diff)
(main): Correctly parse the -w/--width option.
Diffstat (limited to 'utils')
-rw-r--r--utils/w.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/w.c b/utils/w.c
index e624ef83..84bb6f6e 100644
--- a/utils/w.c
+++ b/utils/w.c
@@ -401,6 +401,7 @@ main(int argc, char *argv[])
case 'u': show_entries = 0; break;
case 'U': show_uptime = 0; break;
case 'n': raw_hosts = 1; break;
+ case 'w': output_width = arg ? atoi (arg) : 0; break;
case ARGP_KEY_ARG:
break;