diff --git a/explorer/src/main.rs b/explorer/src/main.rs index 8ba0a6b..9f63e83 100644 --- a/explorer/src/main.rs +++ b/explorer/src/main.rs @@ -46,6 +46,7 @@ fn command_line() -> Command { Command::new("make") .arg(Arg::new("from").required(true)) .arg(Arg::new("to").required(true)) + .alias("m") .about("Make a move"), ) .subcommand( @@ -53,6 +54,7 @@ fn command_line() -> Command { .arg(Arg::new("color").required(true)) .arg(Arg::new("piece").required(true)) .arg(Arg::new("square").required(true)) + .alias("p") .about("Place a piece on the board"), ) .subcommand( @@ -78,7 +80,6 @@ fn command_line() -> Command { ) .subcommand(Command::new("print").about("Print the board")) .subcommand(Command::new("quit").alias("exit").about("Quit the program")) - .subcommand(Command::new("starting").about("Reset the board to the starting position")) } #[derive(Clone, Debug, Error, Eq, PartialEq)]