diff options
Diffstat (limited to 'coreutils/who.c')
-rw-r--r-- | coreutils/who.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/who.c b/coreutils/who.c index 6be3d692e..cfe0c921e 100644 --- a/coreutils/who.c +++ b/coreutils/who.c | |||
@@ -117,8 +117,7 @@ int who_main(int argc UNUSED_PARAM, char **argv) | |||
117 | unsigned opt; | 117 | unsigned opt; |
118 | const char *fmt = "%s"; | 118 | const char *fmt = "%s"; |
119 | 119 | ||
120 | opt_complementary = "=0"; | 120 | opt = getopt32(argv, do_who ? "^" "aH" "\0" "=0": "^" "" "\0" "=0"); |
121 | opt = getopt32(argv, do_who ? "aH" : ""); | ||
122 | if ((opt & 2) || do_w) /* -H or we are w */ | 121 | if ((opt & 2) || do_w) /* -H or we are w */ |
123 | puts("USER\t\tTTY\t\tIDLE\tTIME\t\t HOST"); | 122 | puts("USER\t\tTTY\t\tIDLE\tTIME\t\t HOST"); |
124 | 123 | ||