Really use PROGNAME in the whole usage screen
This commit is contained in:
parent
d1dea0ed8e
commit
89bab321bb
|
@ -1368,10 +1368,11 @@ static int _error(char const * message, int ret)
|
||||||
static int _usage(void)
|
static int _usage(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr, _("Usage: %s [-c][-p package] command\n"
|
fprintf(stderr, _("Usage: %s [-c][-p package] command\n"
|
||||||
" helper -d package\n"
|
" %s -d package\n"
|
||||||
" helper -s section page\n"
|
" %s -s section page\n"
|
||||||
" -d Open an API reference\n"
|
" -d Open an API reference\n"
|
||||||
" -s Section of the manual page to read from\n"), PROGNAME);
|
" -s Section of the manual page to read from\n"),
|
||||||
|
PROGNAME, PROGNAME, PROGNAME);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user