- Better switches explanation.

This commit is contained in:
ccremers 2005-12-22 12:33:35 +00:00
parent aae3cd70cb
commit 32f226f782

View File

@ -337,6 +337,28 @@ switcher (const int process, int index)
} }
} }
if (detect ('P', "proof", 0))
{
if (!process)
{
helptext ("-P,--proof", "show explicit proof");
}
else
{
// Proof
switches.output = PROOF;
return index;
}
}
/* ==================
* Bounding options
*/
if (!process)
{
printf ("Switches that affect the state space:\n");
}
if (detect ('m', "match", 1)) if (detect ('m', "match", 1))
{ {
if (!process) if (!process)
@ -500,10 +522,12 @@ switcher (const int process, int index)
/* ================== /* ==================
* Modelchecker only * Modelchecker only
*/ */
if (!process) /*
{ if (!process)
printf ("Switches for modelchecking engine:\n"); {
} printf ("Switches for modelchecking engine:\n");
}
*/
if (detect ('L', "latex", 0)) if (detect ('L', "latex", 0))
{ {
@ -543,11 +567,12 @@ switcher (const int process, int index)
/* ================== /* ==================
* Arachne only * Arachne only
*/ */
if (!process) /*
{ if (!process)
printf ("Switches for Arachne engine:\n"); {
/* helptext ("(fixed)", "output attacks in DOT format"); */ printf ("Switches for Arachne engine:\n");
} }
*/
if (detect ('G', "goal-select", 1)) if (detect ('G', "goal-select", 1))
{ {
@ -565,20 +590,6 @@ switcher (const int process, int index)
} }
} }
if (detect ('P', "proof", 0))
{
if (!process)
{
helptext ("-P,--proof", "show explicit proof");
}
else
{
// Proof
switches.output = PROOF;
return index;
}
}
if (detect (' ', "extend-nonreads", 0)) if (detect (' ', "extend-nonreads", 0))
{ {
if (!process) if (!process)
@ -815,7 +826,7 @@ switcher (const int process, int index)
else else
{ {
printf ("Usage:\n"); printf ("Usage:\n");
printf (" %s [switches] [FILE]\nSwitches:\n", progname); printf (" %s [switches] [FILE]\nSwitches:\n\n", progname);
switcher (0, 0); switcher (0, 0);
exit (0); exit (0);
} }