Really use PROGNAME in the whole usage screen

This commit is contained in:
Pierre Pronchery 2015-01-16 01:36:41 +01:00
parent d1dea0ed8e
commit 89bab321bb

View File

@ -1368,10 +1368,11 @@ static int _error(char const * message, int ret)
static int _usage(void)
{
fprintf(stderr, _("Usage: %s [-c][-p package] command\n"
" helper -d package\n"
" helper -s section page\n"
" %s -d package\n"
" %s -s section page\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;
}