From: Jim Meyering Date: Mon, 24 Aug 2009 09:32:17 +0000 (+0200) Subject: guestfish: don't try to diagnose getopt failure X-Git-Tag: 1.0.69~34 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=8e6d1e1a31a69589fde10e3e230620f1e9d27866;p=libguestfs.git guestfish: don't try to diagnose getopt failure * fish/fish.c: ... getopt_long already does that. Instead, suggest "Try `guestfish --help' for more information." --- diff --git a/fish/fish.c b/fish/fish.c index 91c5dad..156147a 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -326,8 +326,6 @@ main (int argc, char *argv[]) usage (0); default: - fprintf (stderr, _("%s: unexpected command line option 0x%x\n"), - program_name, c); usage (1); } }