summaryrefslogtreecommitdiff
path: root/src/du.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-06-30 19:43:53 +0200
committerJim Meyering <jim@meyering.net>2007-07-14 19:17:01 +0200
commit1e07a21459421afdbbd0b9cb21a919aa5d938abb (patch)
tree93cafc43d54479f889032cb732ba4800dd77cc07 /src/du.c
parent78adb282a743a326ccfb137c537fcc793e1ebb08 (diff)
downloadcoreutils-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/du.c')
-rw-r--r--src/du.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/du.c b/src/du.c
index 74eb9b2fd..8f9bfc0a0 100644
--- a/src/du.c
+++ b/src/du.c
@@ -195,15 +195,8 @@ enum
EXCLUDE_OPTION,
FILES0_FROM_OPTION,
HUMAN_SI_OPTION,
-
- /* FIXME: --kilobytes is deprecated (but not -k); remove in late 2006 */
- KILOBYTES_LONG_OPTION,
-
MAX_DEPTH_OPTION,
-
- /* FIXME: --megabytes is deprecated (but not -m); remove in late 2006 */
MEGABYTES_LONG_OPTION,
-
TIME_OPTION,
TIME_STYLE_OPTION
};
@@ -222,10 +215,8 @@ static struct option const long_options[] =
{"files0-from", required_argument, NULL, FILES0_FROM_OPTION},
{"human-readable", no_argument, NULL, 'h'},
{"si", no_argument, NULL, HUMAN_SI_OPTION},
- {"kilobytes", no_argument, NULL, KILOBYTES_LONG_OPTION},
{"max-depth", required_argument, NULL, MAX_DEPTH_OPTION},
{"null", no_argument, NULL, '0'},
- {"megabytes", no_argument, NULL, MEGABYTES_LONG_OPTION},
{"no-dereference", no_argument, NULL, 'P'},
{"one-file-system", no_argument, NULL, 'x'},
{"separate-dirs", no_argument, NULL, 'S'},
@@ -758,10 +749,6 @@ main (int argc, char **argv)
output_block_size = 1;
break;
- case KILOBYTES_LONG_OPTION:
- error (0, 0,
- _("the --kilobytes option is deprecated; use -k instead"));
- /* fall through */
case 'k':
human_output_opts = 0;
output_block_size = 1024;