bin: Adjust version display and help options.
In particular, this get rid of the ugly -? option that argp adds by default, and we also remove -V so that we can use it for something else later. * src/bin/common_setup.cc, src/bin/common_setup.hh (misc_argp): Provide support for --help/--version/--usage output, replacing argp's default builting version. * src/bin/genltl.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc, src/bin/ltlcheck.cc, src/bin/ltlfilt.cc, src/bin/randltl.cc: Call argp_parse() with ARGP_NO_HELP, and use misc_argp instead.
This commit is contained in:
parent
c6030df936
commit
b8ed85a30d
8 changed files with 64 additions and 9 deletions
|
|
@ -25,4 +25,6 @@
|
|||
|
||||
void setup(char** progname);
|
||||
|
||||
extern const struct argp misc_argp;
|
||||
|
||||
#endif // SPOT_BIN_COMMON_SETUP_HH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue