1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

gpg,gpgsm: Simplify wrong_args function.

This commit is contained in:
Werner Koch 2014-06-25 20:25:28 +02:00
parent c029a184d6
commit 572502bd2c
2 changed files with 3 additions and 7 deletions

View file

@ -1018,10 +1018,8 @@ build_list (const char *text, char letter,
static void
wrong_args( const char *text)
{
fputs(_("usage: gpg [options] "),stderr);
fputs(text,stderr);
putc('\n',stderr);
g10_exit(2);
fprintf (stderr, _("usage: %s [options] %s\n"), GPG_NAME, text);
g10_exit(2);
}