* src/vipw.c: Do not use a hardcoded program name in the usage
message.
This commit is contained in:
parent
3084e71acb
commit
cc8be680ca
@ -1,5 +1,10 @@
|
|||||||
2011-12-09 Nicolas François <nicolas.francois@centraliens.net>
|
2011-12-09 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* src/vipw.c: Do not use a hardcoded program name in the usage
|
||||||
|
message.
|
||||||
|
|
||||||
|
2011-12-04 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/eu.po,
|
* po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/eu.po,
|
||||||
po/fr.po, po/ja.po, po/kk.po, po/pt.po, po/pt_BR.po, po/ru.po,
|
po/fr.po, po/ja.po, po/kk.po, po/pt.po, po/pt_BR.po, po/ru.po,
|
||||||
po/sk.po, po/sv.po, po/vi.po, po/zh_CN.po: Quick unfuzzy.
|
po/sk.po, po/sv.po, po/vi.po, po/zh_CN.po: Quick unfuzzy.
|
||||||
|
@ -86,9 +86,11 @@ static void vipwedit (const char *, int (*)(void), int (*)(void));
|
|||||||
static void usage (int status)
|
static void usage (int status)
|
||||||
{
|
{
|
||||||
FILE *usageout = (E_SUCCESS != status) ? stderr : stdout;
|
FILE *usageout = (E_SUCCESS != status) ? stderr : stdout;
|
||||||
(void) fputs (_("Usage: vipw [options]\n"
|
(void) fprintf (stderr,
|
||||||
"\n"
|
_("Usage: %s [options]\n"
|
||||||
"Options:\n"), usageout);
|
"\n"
|
||||||
|
"Options:\n"),
|
||||||
|
Prog);
|
||||||
(void) fputs (_(" -g, --group edit group database\n"), usageout);
|
(void) fputs (_(" -g, --group edit group database\n"), usageout);
|
||||||
(void) fputs (_(" -h, --help display this help message and exit\n"), usageout);
|
(void) fputs (_(" -h, --help display this help message and exit\n"), usageout);
|
||||||
(void) fputs (_(" -p, --passwd edit passwd database\n"), usageout);
|
(void) fputs (_(" -p, --passwd edit passwd database\n"), usageout);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user