diff options
author | Jim Meyering <jim@meyering.net> | 2007-06-30 19:43:53 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-07-14 19:17:01 +0200 |
commit | 1e07a21459421afdbbd0b9cb21a919aa5d938abb (patch) | |
tree | 93cafc43d54479f889032cb732ba4800dd77cc07 /src/who.c | |
parent | 78adb282a743a326ccfb137c537fcc793e1ebb08 (diff) | |
download | coreutils-1e07a21459421afdbbd0b9cb21a919aa5d938abb.tar.xz |
Remove long-deprecated options.
* NEWS: Mention this.
* src/df.c, src/ls.c: Remove --kilobytes option.
* src/du.c: Remove --kilobytes and --megabytes options.
* src/who.c: Remove -i and --idle options.
* src/ptx.c: Remove --copyright option.
Signed-off-by: Jim Meyering <jim@meyering.net>
Diffstat (limited to 'src/who.c')
-rw-r--r-- | src/who.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -166,7 +166,6 @@ static struct option const longopts[] = { {"count", no_argument, NULL, 'q'}, {"dead", no_argument, NULL, 'd'}, {"heading", no_argument, NULL, 'H'}, - {"idle", no_argument, NULL, 'i'}, /* FIXME: deprecated: remove in late 2006 */ {"login", no_argument, NULL, 'l'}, {"lookup", no_argument, NULL, LOOKUP_OPTION}, {"message", no_argument, NULL, 'T'}, @@ -683,7 +682,7 @@ main (int argc, char **argv) atexit (close_stdout); - while ((optc = getopt_long (argc, argv, "abdilmpqrstuwHT", longopts, NULL)) + while ((optc = getopt_long (argc, argv, "abdlmpqrstuwHT", longopts, NULL)) != -1) { switch (optc) @@ -757,11 +756,6 @@ main (int argc, char **argv) include_mesg = true; break; - case 'i': - error (0, 0, - _("Warning: -i will be removed in a future release; \ - use -u instead")); - /* Fall through. */ case 'u': need_users = true; include_idle = true; |