diff options
Diffstat (limited to 'src/command/mod.rs')
-rw-r--r-- | src/command/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command/mod.rs b/src/command/mod.rs index 8af64cb0..161c99d9 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -69,6 +69,9 @@ pub enum AtuinCmd { human: bool, query: Vec<String>, + + #[structopt(long, about = "Show only the text of the command")] + cmd_only: bool, }, #[structopt(about = "sync with the configured server")] @@ -112,6 +115,7 @@ impl AtuinCmd { before, after, query, + cmd_only, } => { search::run( &client_settings, @@ -123,6 +127,7 @@ impl AtuinCmd { exclude_cwd, before, after, + cmd_only, &query, &mut db, ) |