Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
ae234d2e
Commit
ae234d2e
authored
Jan 14, 2015
by
Alexandre Duret-Lutz
Browse files
ltlfilt: remove -n.
* src/bin/ltlfilt.cc: Remove short option -n for --negate.
parent
7c55500d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/ltlfilt.cc
View file @
ae234d2e
...
...
@@ -85,6 +85,7 @@ Exit status:\n\
#define OPT_STUTTER_INSENSITIVE 29
#define OPT_AP_N 30
#define OPT_IGNORE_ERRORS 31
#define OPT_NEGATE 256
static
const
argp_option
options
[]
=
{
...
...
@@ -98,7 +99,7 @@ static const argp_option options[] =
"do not report syntax errors"
,
0
},
/**************************************************/
{
0
,
0
,
0
,
0
,
"Transformation options:"
,
3
},
{
"negate"
,
'n'
,
0
,
0
,
"negate each formula"
,
0
},
{
"negate"
,
OPT_NEGATE
,
0
,
0
,
"negate each formula"
,
0
},
{
"nnf"
,
OPT_NNF
,
0
,
0
,
"rewrite formulas in negative normal form"
,
0
},
{
"relabel"
,
OPT_RELABEL
,
"abc|pnn"
,
OPTION_ARG_OPTIONAL
,
"relabel all atomic propositions, alphabetically unless "
\
...
...
@@ -263,9 +264,6 @@ parse_opt(int key, char* arg, struct argp_state*)
// This switch is alphabetically-ordered.
switch
(
key
)
{
case
'n'
:
negate
=
true
;
break
;
case
'q'
:
output_format
=
quiet_output
;
break
;
...
...
@@ -332,6 +330,9 @@ parse_opt(int key, char* arg, struct argp_state*)
case
OPT_LTL
:
ltl
=
true
;
break
;
case
OPT_NEGATE
:
negate
=
true
;
break
;
case
OPT_NNF
:
nnf
=
true
;
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment