don't hard-code `rm'
authorJim Meyering <jim@meyering.net>
Tue, 2 May 2000 06:56:31 +0000 (06:56 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 2 May 2000 06:56:31 +0000 (06:56 +0000)
src/rm.c

index 6b69f87..92684b4 100644 (file)
--- a/src/rm.c
+++ b/src/rm.c
@@ -99,9 +99,10 @@ Remove (unlink) the FILE(s).\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\
-"));
+  %s -- -foo\n\
+  %s ./-foo\n\
+"),
+             program_name, program_name);
       puts (_("\nReport bugs to <bug-fileutils@gnu.org>."));
       close_stdout ();
     }