diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-23 15:41:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-23 15:41:16 +0000 |
commit | a5f1ced62a3a3288f72d4f494e61122e7d407498 (patch) | |
tree | 86aa6bbd3b956c22f07bc460d1929dedb4a5daa1 /src/rm.c | |
parent | 2e55f173989ab21bb87fd3c2c6bd12305469e179 (diff) | |
download | coreutils-a5f1ced62a3a3288f72d4f494e61122e7d407498.tar.xz |
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src/rm.c')
-rw-r--r-- | src/rm.c | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -84,7 +84,7 @@ usage (int status) else { printf (_("Usage: %s [OPTION]... FILE...\n"), program_name); - printf (_("\ + fputs (_("\ Remove (unlink) the FILE(s).\n\ \n\ -d, --directory unlink FILE, even if it is a non-empty directory\n\ @@ -92,21 +92,27 @@ Remove (unlink) the FILE(s).\n\ -f, --force ignore nonexistent files, never prompt\n\ -i, --interactive prompt before any removal\n\ -r, -R, --recursive remove the contents of directories recursively\n\ +"), stdout); + fputs (_("\ -v, --verbose explain what is being done\n\ --help display this help and exit\n\ --version output version information and exit\n\ \n\ +"), stdout); + printf (_("\ To remove a file whose name starts with a `-', for example `-foo',\n\ use one of these commands:\n\ %s -- -foo\n\ \n\ %s ./-foo\n\ +"), + program_name, program_name); + fputs (_("\ \n\ Note that if you use rm to remove a file, it is usually possible to recover\n\ the contents of that file. If you want more assurance that the contents are\n\ truly unrecoverable, consider using shred.\n\ -"), - program_name, program_name); +"), stdout); puts (_("\nReport bugs to <bug-fileutils@gnu.org>.")); } exit (status); |