mirror of
https://github.com/sagiegurari/duckscript
synced 2024-09-06 00:34:07 +00:00
Added 'quit' and 'q' aliases to exit command #44
This commit is contained in:
parent
7942425e23
commit
e5bac16b88
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue