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
|
|
@ -34,7 +34,6 @@
|
|||
#include "common_finput.hh"
|
||||
#include "common_post.hh"
|
||||
|
||||
#include "misc/_config.h"
|
||||
#include "ltlparse/public.hh"
|
||||
#include "ltlvisit/simplify.hh"
|
||||
#include "tgbaalgos/dotty.hh"
|
||||
|
|
@ -46,16 +45,6 @@
|
|||
#include "taalgos/dotty.hh"
|
||||
#include "taalgos/minimize.hh"
|
||||
|
||||
const char* argp_program_version = "\
|
||||
ltl2tgta (" 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[] ="\
|
||||
Translate linear-time formulas (LTL/PSL) into Testing Automata.\n\n\
|
||||
By default it outputs a transition-based generalized Testing Automaton \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue