diff --git a/build.rs b/build.rs index 85638f5..4ca162b 100644 --- a/build.rs +++ b/build.rs @@ -56,6 +56,12 @@ fn vento() -> Result { .long("--switch") .help("Switches inventory slots"), ) + .flag( + Flag::new() + .short("-u") + .long("--undo") + .help("Undoes the last action"), + ) .flag( Flag::new() .short("-i") diff --git a/src/help.rs b/src/help.rs index 8bcaa17..b31f6f9 100644 --- a/src/help.rs +++ b/src/help.rs @@ -29,6 +29,7 @@ pub fn vento() -> Result<()> { {} - {}: Lists files in selected inventory - {}: Switches slots + - {}: Undoes the last action - {}: Initializes Vento - {}: Displays this message", "Vento".bold().blue(), @@ -37,6 +38,7 @@ pub fn vento() -> Result<()> { .bold() .green(), "vento ( -c | --switch )".bold().green(), + "vento ( -u | --undo )".bold().green(), "vento ( -i | --init )".bold().green(), "vento ( -h | --help )".bold().green() );