diff options
Diffstat (limited to '')
-rw-r--r-- | util/ChangeLog | 6 | ||||
-rw-r--r-- | util/argparse.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/util/ChangeLog b/util/ChangeLog index a451e4a9a..0edc49a32 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,9 @@ +Wed Sep 1 15:30:44 CEST 1999 Werner Koch <[email protected]> + + + * argparse.c (arg_parse): Add standard options to the dump-options + output. + Tue Aug 31 17:20:44 CEST 1999 Werner Koch <[email protected]> diff --git a/util/argparse.c b/util/argparse.c index b6934148b..fcd44ff61 100644 --- a/util/argparse.c +++ b/util/argparse.c @@ -526,9 +526,11 @@ arg_parse( ARGPARSE_ARGS *arg, ARGPARSE_OPTS *opts) exit(0); } else if( i < 0 && !strcmp( "dump-options", s+2) ) { - for(i=0; opts[i].short_opt; i++ ) + for(i=0; opts[i].short_opt; i++ ) { if( opts[i].long_opt ) printf( "--%s\n", opts[i].long_opt ); + } + fputs("--dump-options\n--help\n--version\n--warranty\n", stdout ); exit(0); } |