From b09febbc828bdfb9d0b8b95e69c08d894976b01f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 18 Nov 2020 20:43:57 +0000 Subject: [PATCH] Revert "optional join for reset, for revert" This is not going to be trivial to implement This reverts commit e212270ec6423f2c11574d70cac0f09ec3873c70. --- src/bin/otter.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/bin/otter.rs b/src/bin/otter.rs index 0c135028..a8c0f6a1 100644 --- a/src/bin/otter.rs +++ b/src/bin/otter.rs @@ -638,7 +638,6 @@ mod reset_game { table_name: String, game_file: String, table_file: Option, - join: bool, } fn subargs(sa: &mut Args) -> ArgumentParser { @@ -647,11 +646,6 @@ mod reset_game { ap.refer(&mut sa.table_file).metavar("TABLE-SPEC-TOML") .add_option(&["--reset-table"],StoreOption, "reset the players and access too"); - ap.refer(&mut sa.join) - .add_option(&["--join"],StoreTrue, - "join the game (default)") - .add_option(&["--no-join"],StoreFalse, - "do not join the game"); ap.refer(&mut sa.table_name).required() .add_argument("TABLE-NAME",Store,"table name"); ap.refer(&mut sa.game_file).required() -- 2.30.2