declare all argp_program_doc as static

* bench/stutter/stutter_invariance_formulas.cc, bin/autcross.cc,
bin/autfilt.cc, bin/dstar2tgba.cc, bin/genaut.cc, bin/genltl.cc,
bin/ltl2tgba.cc, bin/ltl2tgta.cc, bin/ltlcross.cc, bin/ltldo.cc,
bin/ltlfilt.cc, bin/ltlsynt.cc, bin/randaut.cc, bin/randltl.cc,
bin/spot-x.cc, bin/spot.cc, tests/ltsmin/modelcheck.cc: Here.
This commit is contained in:
Alexandre Duret-Lutz 2022-10-25 16:31:35 +02:00
parent 65bc67f300
commit 0a710eb995
17 changed files with 34 additions and 32 deletions

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*- // -*- coding: utf-8 -*-
// Copyright (C) 2014, 2015, 2016, 2017 Laboratoire de Recherche et // Copyright (C) 2014, 2015, 2016, 2017, 2022 Laboratoire de Recherche
// Développement de l'Epita (LRDE). // et Développement de l'Epita (LRDE).
// //
// This file is part of Spot, a model checking library. // This file is part of Spot, a model checking library.
// //
@ -28,7 +28,7 @@
#include <spot/misc/timer.hh> #include <spot/misc/timer.hh>
#include <argp.h> #include <argp.h>
const char argp_program_doc[] =""; static const char argp_program_doc[] = "";
const struct argp_child children[] = const struct argp_child children[] =
{ {

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*- // -*- coding: utf-8 -*-
// Copyright (C) 2017-2020, 2022 Laboratoire de Recherche et Développement de // Copyright (C) 2017-2020, 2022 Laboratoire de Recherche et
// l'Epita (LRDE). // Développement de l'Epita (LRDE).
// //
// This file is part of Spot, a model checking library. // This file is part of Spot, a model checking library.
// //
@ -51,7 +51,7 @@
#include <spot/misc/escape.hh> #include <spot/misc/escape.hh>
#include <spot/misc/timer.hh> #include <spot/misc/timer.hh>
const char argp_program_doc[] ="\ static const char argp_program_doc[] = "\
Call several tools that process automata and cross-compare their output \ Call several tools that process automata and cross-compare their output \
to detect bugs, or to gather statistics. The list of automata to use \ to detect bugs, or to gather statistics. The list of automata to use \
should be supplied on standard input, or using the -F option.\v\ should be supplied on standard input, or using the -F option.\v\

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*- // -*- coding: utf-8 -*-
// Copyright (C) 2017-2019, 2022 Laboratoire de Recherche et Développement // Copyright (C) 2017-2019, 2022 Laboratoire de Recherche et
// de l'Epita (LRDE). // Développement de l'Epita (LRDE).
// //
// This file is part of Spot, a model checking library. // This file is part of Spot, a model checking library.
// //
@ -43,7 +43,8 @@
using namespace spot; using namespace spot;
const char argp_program_doc[] ="Generate ω-automata from predefined patterns."; static const char argp_program_doc[] =
"Generate ω-automata from predefined patterns.";
static const argp_option options[] = static const argp_option options[] =
{ {

View file

@ -45,7 +45,7 @@
using namespace spot; using namespace spot;
const char argp_program_doc[] ="\ static const char argp_program_doc[] = "\
Generate temporal logic formulas from predefined patterns."; Generate temporal logic formulas from predefined patterns.";
// We reuse the values from gen::ltl_pattern_id as option keys. // We reuse the values from gen::ltl_pattern_id as option keys.

View file

@ -46,7 +46,7 @@
#include <spot/taalgos/minimize.hh> #include <spot/taalgos/minimize.hh>
#include <spot/misc/optionmap.hh> #include <spot/misc/optionmap.hh>
const char argp_program_doc[] ="\ static const char argp_program_doc[] = "\
Translate linear-time formulas (LTL/PSL) into Testing Automata.\n\n\ Translate linear-time formulas (LTL/PSL) into Testing Automata.\n\n\
By default it outputs a transition-based generalized Testing Automaton \ By default it outputs a transition-based generalized Testing Automaton \
the smallest Transition-based Generalized Büchi Automata, \ the smallest Transition-based Generalized Büchi Automata, \

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*- // -*- coding: utf-8 -*-
// Copyright (C) 2012-2020, 2022 Laboratoire de Recherche et Développement // Copyright (C) 2012-2020, 2022 Laboratoire de Recherche et
// de l'Epita (LRDE). // Développement de l'Epita (LRDE).
// //
// This file is part of Spot, a model checking library. // This file is part of Spot, a model checking library.
// //
@ -69,7 +69,7 @@
#include <spot/misc/tmpfile.hh> #include <spot/misc/tmpfile.hh>
#include <spot/misc/timer.hh> #include <spot/misc/timer.hh>
const char argp_program_doc[] ="\ static const char argp_program_doc[] = "\
Call several LTL/PSL translators and cross-compare their output to detect \ Call several LTL/PSL translators and cross-compare their output to detect \
bugs, or to gather statistics. The list of formulas to use should be \ bugs, or to gather statistics. The list of formulas to use should be \
supplied on standard input, or using the -f or -F options.\v\ supplied on standard input, or using the -f or -F options.\v\

View file

@ -47,7 +47,7 @@
#include <spot/twaalgos/totgba.hh> #include <spot/twaalgos/totgba.hh>
#include <spot/parseaut/public.hh> #include <spot/parseaut/public.hh>
const char argp_program_doc[] ="\ static const char argp_program_doc[] = "\
Run LTL/PSL formulas through another program, performing conversion\n\ Run LTL/PSL formulas through another program, performing conversion\n\
of input and output as required."; of input and output as required.";

View file

@ -59,7 +59,7 @@
#include <spot/twaalgos/totgba.hh> #include <spot/twaalgos/totgba.hh>
#include <spot/twaalgos/word.hh> #include <spot/twaalgos/word.hh>
const char argp_program_doc[] ="\ static const char argp_program_doc[] = "\
Read a list of formulas and output them back after some optional processing.\v\ Read a list of formulas and output them back after some optional processing.\v\
Exit status:\n\ Exit status:\n\
0 if some formulas were output (skipped syntax errors do not count)\n\ 0 if some formulas were output (skipped syntax errors do not count)\n\

View file

@ -157,7 +157,7 @@ static const struct argp_child children[] =
{ nullptr, 0, nullptr, 0 } { nullptr, 0, nullptr, 0 }
}; };
const char argp_program_doc[] = "\ static const char argp_program_doc[] = "\
Synthesize a controller from its LTL specification.\v\ Synthesize a controller from its LTL specification.\v\
Exit status:\n\ Exit status:\n\
0 if all input problems were realizable\n\ 0 if all input problems were realizable\n\

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*- // -*- coding: utf-8 -*-
// Copyright (C) 2012-2016, 2018-2020 Laboratoire de Recherche et // Copyright (C) 2012-2016, 2018-2020, 2022 Laboratoire de Recherche
// Développement de l'Epita (LRDE). // et Développement de l'Epita (LRDE).
// //
// This file is part of Spot, a model checking library. // This file is part of Spot, a model checking library.
// //
@ -42,7 +42,7 @@
#include <spot/twaalgos/canonicalize.hh> #include <spot/twaalgos/canonicalize.hh>
const char argp_program_doc[] = "\ static const char argp_program_doc[] = "\
Generate random connected automata.\n\n\ Generate random connected automata.\n\n\
The automata are built over the atomic propositions named by PROPS...\n\ The automata are built over the atomic propositions named by PROPS...\n\
or, if N is a nonnegative number, using N arbitrary names.\n\ or, if N is a nonnegative number, using N arbitrary names.\n\

View file

@ -1,5 +1,5 @@
// -*- coding: utf-8 -*- // -*- coding: utf-8 -*-
// Copyright (C) 2012-2016, 2018-2019 Laboratoire de Recherche // Copyright (C) 2012-2016, 2018-2019, 2022 Laboratoire de Recherche
// et Développement de l'Epita (LRDE). // et Développement de l'Epita (LRDE).
// //
// This file is part of Spot, a model checking library. // This file is part of Spot, a model checking library.
@ -40,7 +40,7 @@
#include <spot/misc/random.hh> #include <spot/misc/random.hh>
#include <spot/misc/optionmap.hh> #include <spot/misc/optionmap.hh>
const char argp_program_doc[] ="\ static const char argp_program_doc[] = "\
Generate random temporal logic formulas.\n\n\ Generate random temporal logic formulas.\n\n\
The formulas are built over the atomic propositions named by PROPS...\n\ The formulas are built over the atomic propositions named by PROPS...\n\
or, if N is a nonnegative number, using N arbitrary names.\v\ or, if N is a nonnegative number, using N arbitrary names.\v\

View file

@ -24,7 +24,7 @@
#include <argp.h> #include <argp.h>
#include "common_setup.hh" #include "common_setup.hh"
const char argp_program_doc[] ="\ static const char argp_program_doc[] = "\
Common fine-tuning options for programs installed with Spot.\n\ Common fine-tuning options for programs installed with Spot.\n\
\n\ \n\
The argument of -x or --extra-options is a comma-separated list of KEY=INT \ The argument of -x or --extra-options is a comma-separated list of KEY=INT \

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*- // -*- coding: utf-8 -*-
// Copyright (C) 2013-2018 Laboratoire de Recherche et Développement // Copyright (C) 2013-2018, 2022 Laboratoire de Recherche et
// de l'Epita (LRDE). // Développement de l'Epita (LRDE).
// //
// This file is part of Spot, a model checking library. // This file is part of Spot, a model checking library.
// //
@ -24,7 +24,8 @@
#include <argp.h> #include <argp.h>
#include "common_setup.hh" #include "common_setup.hh"
const char argp_program_doc[] ="Command-line tools installed by Spot."; static const char argp_program_doc[] =
"Command-line tools installed by Spot.";
#define DOC(NAME, TXT) NAME, 0, nullptr, OPTION_DOC | OPTION_NO_USAGE, TXT, 0 #define DOC(NAME, TXT) NAME, 0, nullptr, OPTION_DOC | OPTION_NO_USAGE, TXT, 0

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*- // -*- coding: utf-8 -*-
// Copyright (C) 2011-2020 Laboratoire de Recherche et Developpement // Copyright (C) 2011-2020, 2022 Laboratoire de Recherche et
// de l'Epita (LRDE) // Developpement de l'Epita (LRDE)
// //
// This file is part of Spot, a model checking library. // This file is part of Spot, a model checking library.
// //
@ -45,7 +45,7 @@
#include <spot/twacube/twacube.hh> #include <spot/twacube/twacube.hh>
#include <spot/twacube_algos/convert.hh> #include <spot/twacube_algos/convert.hh>
const char argp_program_doc[] = static const char argp_program_doc[] =
"Process model and formula to check wether a " "Process model and formula to check wether a "
"model meets a specification.\v\ "model meets a specification.\v\
Exit status:\n\ Exit status:\n\