summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-21 19:05:20 +0200
committerJim Meyering <meyering@redhat.com>2009-08-24 18:15:06 +0200
commit6cd965e007f65d6e62872c6ddd782f1de06046e3 (patch)
treed58f3636b093c0ac1e60963ca4ac8c51ffb36520 /bootstrap
parentacdf8907dee4fad3049bcc19921ffa96b9b5376b (diff)
downloadlibguestfs-6cd965e007f65d6e62872c6ddd782f1de06046e3.tar.gz
libguestfs-6cd965e007f65d6e62872c6ddd782f1de06046e3.tar.xz
libguestfs-6cd965e007f65d6e62872c6ddd782f1de06046e3.zip
guestfish: write --help to stdout, use gnulib's progname module
* fish/fish.c: Include "progname.h". (main): Call set_program_name to initialize. Don't hard-code guestfish everywhere. Use program_name. However, be careful when modifying argv[0], since it is used in the hopes that it is an absolute file name. (usage): Don't spew all of --help for a mis-typed option. Split long lines.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 76e22169..3fd8811e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -56,6 +56,7 @@ gnumakefile
ignore-value
maintainer-makefile
manywarnings
+progname
warnings
vc-list-files
'