summaryrefslogtreecommitdiffstats
path: root/fish
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-24 11:32:17 +0200
committerJim Meyering <meyering@redhat.com>2009-08-24 18:15:13 +0200
commit8e6d1e1a31a69589fde10e3e230620f1e9d27866 (patch)
treefccbcf4a0b03999ba5d98d93e346b76adaaa28f9 /fish
parent6cd965e007f65d6e62872c6ddd782f1de06046e3 (diff)
downloadlibguestfs-8e6d1e1a31a69589fde10e3e230620f1e9d27866.tar.gz
libguestfs-8e6d1e1a31a69589fde10e3e230620f1e9d27866.tar.xz
libguestfs-8e6d1e1a31a69589fde10e3e230620f1e9d27866.zip
guestfish: don't try to diagnose getopt failure
* fish/fish.c: ... getopt_long already does that. Instead, suggest "Try `guestfish --help' for more information."
Diffstat (limited to 'fish')
-rw-r--r--fish/fish.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fish/fish.c b/fish/fish.c
index 91c5dadd..156147a3 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);
}
}