bin: factor version display.
* src/bin/common_setup.cc (display_version): New function. (setup): Hook the display_version function. (argp_program_bug_address): Define this common variable here. * src/bin/genltl.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc, src/bin/ltlfilt.cc, src/bin/randltl.cc (argp_program_bug_address, argp_program_version): Remove these definitions.
This commit is contained in:
parent
489f719dc1
commit
7854f629e5
6 changed files with 17 additions and 55 deletions
|
|
@ -35,7 +35,6 @@
|
|||
#include "common_cout.hh"
|
||||
#include "common_r.hh"
|
||||
|
||||
#include "misc/_config.h"
|
||||
#include "misc/hash.hh"
|
||||
#include "ltlvisit/simplify.hh"
|
||||
#include "ltlvisit/length.hh"
|
||||
|
|
@ -47,16 +46,6 @@
|
|||
#include "tgbaalgos/minimize.hh"
|
||||
#include "tgbaalgos/safety.hh"
|
||||
|
||||
const char* argp_program_version = "\
|
||||
ltlfilter (" SPOT_PACKAGE_STRING ")\n\
|
||||
\n\
|
||||
Copyright (C) 2012 Laboratoire de Recherche et Développement de l'Epita.\n\
|
||||
This is free software; see the source for copying conditions. There is NO\n\
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,\n\
|
||||
to the extent permitted by law.";
|
||||
|
||||
const char* argp_program_bug_address = "<" SPOT_PACKAGE_BUGREPORT ">";
|
||||
|
||||
const char argp_program_doc[] ="\
|
||||
Read a list of formulas and output them back after some optional processing.\v\
|
||||
Exit status:\n\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue