summaryrefslogtreecommitdiff
path: root/src/df.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/df.c
parent78adb282a743a326ccfb137c537fcc793e1ebb08 (diff)
downloadcoreutils-1e07a21459421afdbbd0b9cb21a919aa5d938abb.tar.gz
coreutils-1e07a21459421afdbbd0b9cb21a919aa5d938abb.tar.bz2
coreutils-1e07a21459421afdbbd0b9cb21a919aa5d938abb.zip
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/df.c')
-rw-r--r--src/df.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/df.c b/src/df.c
index a72b17f6e..b6e600ac1 100644
--- a/src/df.c
+++ b/src/df.c
@@ -116,8 +116,6 @@ static bool print_type;
enum
{
NO_SYNC_OPTION = CHAR_MAX + 1,
- /* FIXME: --kilobytes is deprecated (but not -k); remove in late 2006 */
- KILOBYTES_LONG_OPTION,
SYNC_OPTION
};
@@ -128,7 +126,6 @@ static struct option const long_options[] =
{"inodes", no_argument, NULL, 'i'},
{"human-readable", no_argument, NULL, 'h'},
{"si", no_argument, NULL, 'H'},
- {"kilobytes", no_argument, NULL, KILOBYTES_LONG_OPTION},
{"local", no_argument, NULL, 'l'},
{"megabytes", no_argument, NULL, 'm'}, /* obsolescent */
{"portability", no_argument, NULL, 'P'},
@@ -824,10 +821,6 @@ main (int argc, char **argv)
human_output_opts = human_autoscale | human_SI;
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;