aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/main.rs b/src/main.rs
index 1d62045..c3c1839 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -62,15 +62,15 @@ This program comes with ABSOLUTELY NO WARRANTY; and is made available under the
&["--player1"],
Store,
"Name of first player, defaults to $USER. See --name-white
- below for Black/White assignment.",
+ below for Black/White assignment.",
);
ap.refer(&mut p2_name).add_option(
&["--player2"],
Store,
"Name of second player, defaults to ``Player2'' and is
- overridden by the arument ENGINE of --engine when
- applicable.",
+ overridden by the arument ENGINE of --engine when
+ applicable.",
);
ap.refer(&mut start_type_string)
@@ -78,10 +78,10 @@ This program comes with ABSOLUTELY NO WARRANTY; and is made available under the
&["-v", "--variant-start"],
Store,
"Select the rule variant for
- the start of play. Valid choices are CPSn, FCS, FES, TPS,
- and CZS. The default starting type, which matches the
- original rules, is CPS1. See ENGINE below for a warning on
- this.",
+ the start of play. Valid choices are CPSn, FCS, FES, TPS,
+ and CZS. The default starting type, which matches the
+ original rules, is CPS1. See ENGINE below for a warning on
+ this.",
)
.metavar("VRNT");
@@ -89,12 +89,12 @@ This program comes with ABSOLUTELY NO WARRANTY; and is made available under the
&["-e", "--engine"],
Store,
"Name of process which will be used as a computer
- opponent. The process must accept a single argument point
- to a PTN file of the current game state, and must generate
- a single PTN action on STDOUT. The engine will replace the
- second player, and the name of player 2 is set to this
- argument. Note: ensure that your engine understands the
- [Variant XXX] directive if you choose a variant (above).",
+ opponent. The process must accept a single argument point
+ to a PTN file of the current game state, and must generate
+ a single PTN action on STDOUT. The engine will replace the
+ second player, and the name of player 2 is set to this
+ argument. Note: ensure that your engine understands the
+ [Variant XXX] directive if you choose a variant (above).",
);
ap.refer(&mut name)
@@ -102,7 +102,7 @@ This program comes with ABSOLUTELY NO WARRANTY; and is made available under the
&["--name-white"],
Store,
"Force the player named NAME to play white. If not
- supplied, assignment is ``random''.",
+ supplied, assignment is ``random''.",
)
.metavar("NAME");
@@ -120,7 +120,7 @@ This program comes with ABSOLUTELY NO WARRANTY; and is made available under the
ap.refer(&mut terminal).add_option(
&["-t", "--terminal"],
- Store,
+ StoreTrue,
"Use the terminal user interface instead of the graphical one.",
);