From df97ccef0c6ea6ce99b19a9395e2c29762c2f904 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 31 Mar 2016 13:24:37 +0200 Subject: [PATCH] Update the usage screen --- src/download.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/download.c b/src/download.c index a953521..a3d4911 100644 --- a/src/download.c +++ b/src/download.c @@ -912,10 +912,10 @@ static int _error(char const * message, int ret) /* usage */ static int _usage(void) { - fputs(_("Usage: download [-x][-O output][-U user-agent] URL...\n" + fprintf(stderr, _("Usage: %s [-x][-O output][-U user-agent] URL...\n" " -x Start in embedded mode\n" " -O File to write the remote document to\n" -" -U User-agent string to send\n"), stderr); +" -U User-agent string to send\n"), PROGNAME); return 1; }