From 52702492cc2eda0843272638a3bd5d395e3e3470 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 29 Jul 1996 01:13:56 +0000 Subject: (main): Correctly parse the -w/--width option. --- utils/w.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3