aboutsummaryrefslogtreecommitdiff
path: root/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.rs')
-rw-r--r--src/command.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.rs b/src/command.rs
index 66f3139..7a53bf7 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -20,6 +20,7 @@ pub enum Command {
Open(Option<String>),
Unknown,
Wrap(u16, Option<String>),
+ Help,
}
impl From<String> for Command {
fn from(s: String) -> Self {
@@ -51,6 +52,7 @@ impl From<String> for Command {
}
},
),
+ Some("help" | "h") => Self::Help,
_ => Self::Unknown,
}
}