diff options
author | Jim Meyering <jim@meyering.net> | 2000-05-02 06:55:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-05-02 06:55:49 +0000 |
commit | acd9c429c01f8deceb7e6cb161023144a0d1e0f7 (patch) | |
tree | 14931401a08eccf2719e0fc9ecda926520a8e371 /src | |
parent | e0263e15f1e9e986fa4db66acc1477b1e24aa3dc (diff) | |
download | coreutils-acd9c429c01f8deceb7e6cb161023144a0d1e0f7.tar.xz |
(usage): Add the answer to `How do I remove a file named -f?'
Diffstat (limited to 'src')
-rw-r--r-- | src/rm.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* `rm' file deletion utility for GNU. - Copyright (C) 88, 90, 91, 1994-1999 Free Software Foundation, Inc. + Copyright (C) 88, 90, 91, 1994-2000 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -96,6 +96,11 @@ Remove (unlink) the FILE(s).\n\ -v, --verbose explain what is being done\n\ --help display this help and exit\n\ --version output version information and exit\n\ +\n\ +To remove a file whose name starts with a `-', for example `-foo',\n\ +use one of these commands:\n\ + rm -- -foo\n\ + rm ./-foo\n\ ")); puts (_("\nReport bugs to <bug-fileutils@gnu.org>.")); close_stdout (); |