guestfish: write --help to stdout, use gnulib's progname module
authorJim Meyering <meyering@redhat.com>
Fri, 21 Aug 2009 17:05:20 +0000 (19:05 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 24 Aug 2009 16:15:06 +0000 (18:15 +0200)
commit6cd965e007f65d6e62872c6ddd782f1de06046e3
treed58f3636b093c0ac1e60963ca4ac8c51ffb36520
parentacdf8907dee4fad3049bcc19921ffa96b9b5376b
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.
bootstrap
fish/Makefile.am
fish/fish.c