mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 09:04:19 +01:00
Add .quit alias = .q, .qu, .qui
Add .exit alias = .ex, .exi
This commit is contained in:
@@ -27,10 +27,10 @@ pub struct CommandParser {
|
|||||||
#[command(disable_help_flag(false), disable_version_flag(true))]
|
#[command(disable_help_flag(false), disable_version_flag(true))]
|
||||||
pub enum Command {
|
pub enum Command {
|
||||||
/// Exit this program with return-code CODE
|
/// Exit this program with return-code CODE
|
||||||
#[command(display_name = ".exit")]
|
#[command(display_name = ".exit", alias = "ex", alias = "exi")]
|
||||||
Exit(ExitArgs),
|
Exit(ExitArgs),
|
||||||
/// Quit the shell
|
/// Quit the shell
|
||||||
#[command(display_name = ".quit")]
|
#[command(display_name = ".quit", alias = "q", alias = "qu", alias = "qui")]
|
||||||
Quit,
|
Quit,
|
||||||
/// Open a database file
|
/// Open a database file
|
||||||
#[command(display_name = ".open")]
|
#[command(display_name = ".open")]
|
||||||
|
|||||||
Reference in New Issue
Block a user