diff options
| author | tslil clingman <> | 2021-10-15 21:37:43 -0400 |
|---|---|---|
| committer | tslil clingman <> | 2021-10-15 21:37:43 -0400 |
| commit | 93bd7e3aa2d2b615018c6d118ef3bf13aa0b0ab1 (patch) | |
| tree | ebcc20d7665caa0022c255c60ce698d2b7b73d21 /src/main.rs | |
| parent | a0f3a7f8ba9036d1fcb18941a54077082f15cf3c (diff) | |
Update dependenciesgui
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 30 |
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.", ); |
