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/ls.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/ls.c')
-rw-r--r-- | src/ls.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -729,10 +729,6 @@ enum GROUP_DIRECTORIES_FIRST_OPTION, HIDE_OPTION, INDICATOR_STYLE_OPTION, - - /* FIXME: --kilobytes is deprecated (but not -k); remove in late 2006 */ - KILOBYTES_LONG_OPTION, - QUOTING_STYLE_OPTION, SHOW_CONTROL_CHARS_OPTION, SI_OPTION, @@ -752,7 +748,6 @@ static struct option const long_options[] = GROUP_DIRECTORIES_FIRST_OPTION}, {"human-readable", no_argument, NULL, 'h'}, {"inode", no_argument, NULL, 'i'}, - {"kilobytes", no_argument, NULL, KILOBYTES_LONG_OPTION}, {"numeric-uid-gid", no_argument, NULL, 'n'}, {"no-group", no_argument, NULL, 'G'}, {"hide-control-chars", no_argument, NULL, 'q'}, @@ -1564,10 +1559,6 @@ decode_switches (int argc, char **argv) print_inode = true; break; - case KILOBYTES_LONG_OPTION: - error (0, 0, - _("the --kilobytes option is deprecated; use -k instead")); - /* fall through */ case 'k': human_output_opts = 0; file_output_block_size = output_block_size = 1024; |