(usage): Use base_name (program_name) in body of --help output.
This lets me...
* man/Makefile.am (.x.1): ...back out the kludge of 2003-07-22.
#include <assert.h>
#include "system.h"
+#include "dirname.h"
#include "error.h"
#include "remove.h"
#include "save-cwd.h"
program_name);
else
{
+ char *base = base_name (program_name);
printf (_("Usage: %s [OPTION]... FILE...\n"), program_name);
fputs (_("\
Remove (unlink) the FILE(s).\n\
\n\
%s ./-foo\n\
"),
- program_name, program_name);
+ base, base);
fputs (_("\
\n\
Note that if you use rm to remove a file, it is usually possible to recover\n\