Added 'quit' and 'q' aliases to exit command #44

This commit is contained in:
sagie gur ari 2020-01-06 18:32:01 +00:00
parent 7942425e23
commit e5bac16b88
3 changed files with 4 additions and 3 deletions

View file

@ -2,6 +2,7 @@
### v0.1.5
* Added 'quit' and 'q' aliases to exit command #44
* Added state 64 bit numeric value support #39
* Changed standard namespace to std from sdk #34
* New read command #33

View file

@ -36,7 +36,7 @@
* [std::math::Calc (calc)](#std__math__Calc)
* [std::net::Hostname (hostname)](#std__net__Hostname)
* [std::process::Execute (exec)](#std__process__Execute)
* [std::process::Exit (exit)](#std__process__Exit)
* [std::process::Exit (exit, quit, q)](#std__process__Exit)
* [std::string::Contains (contains)](#std__string__Contains)
* [std::string::EndsWith (ends_with)](#std__string__EndsWith)
* [std::string::Equals (equals, eq)](#std__string__Equals)
@ -1381,7 +1381,7 @@ code = exit 1
#### Aliases:
exit
exit, quit, q
<a name="std__string__Contains"></a>
## std::string::Contains

View file

@ -15,7 +15,7 @@ impl Command for CommandImpl {
}
fn aliases(&self) -> Vec<String> {
vec!["exit".to_string()]
vec!["exit".to_string(), "quit".to_string(), "q".to_string()]
}
fn help(&self) -> String {