spot-x.7: new man page for common fine-tuning options
* src/bin/spot-x.cc, src/bin/man/spot-x.x: New files. * src/bin/Makefile.am, src/bin/man/Makefile.am: Adjust. * src/bin/man/ltl2tgba.x: Remove all fine-tuning options, and make a reference spot spot-x (7). * src/bin/common_setup.hh, src/bin/common_setup.cc: Add a misc_argp_hidden version of the option, so that --help and --version are not shown in the --help output used by help2man to generate spot-x.7. * src/bin/ltl2tgba.cc: Refer to spot-x.7.
This commit is contained in:
parent
1337c9c3e1
commit
d78670ad44
9 changed files with 135 additions and 52 deletions
|
|
@ -66,6 +66,15 @@ static const argp_option options[] =
|
|||
{ 0, 0, 0, 0, 0, 0 }
|
||||
};
|
||||
|
||||
static const argp_option options_hidden[] =
|
||||
{
|
||||
{ "version", OPT_VERSION, 0, OPTION_HIDDEN, "print program version", -1 },
|
||||
{ "help", OPT_HELP, 0, OPTION_HIDDEN, "print this help", -1 },
|
||||
// We support this option just in case, but we don't advertise it.
|
||||
{ "usage", OPT_USAGE, 0, OPTION_HIDDEN, "show short usage", -1 },
|
||||
{ 0, 0, 0, 0, 0, 0 }
|
||||
};
|
||||
|
||||
static int
|
||||
parse_opt_misc(int key, char*, struct argp_state* state)
|
||||
{
|
||||
|
|
@ -91,3 +100,6 @@ parse_opt_misc(int key, char*, struct argp_state* state)
|
|||
|
||||
|
||||
const struct argp misc_argp = { options, parse_opt_misc, 0, 0, 0, 0, 0 };
|
||||
|
||||
const struct argp misc_argp_hidden = { options_hidden, parse_opt_misc,
|
||||
0, 0, 0, 0, 0 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue