Use PROGNAME in the usage screen as well

This commit is contained in:
Pierre Pronchery 2014-09-10 19:57:32 +02:00
parent 766ebdfbed
commit 76aee11af5

View File

@ -584,7 +584,7 @@ static void _on_open_with(gpointer data)
/* usage */
static int _usage(void)
{
fputs(_("Usage: view file...\n"), stderr);
fprintf(stderr, _("Usage: %s file...\n"), PROGNAME);
return 1;
}