summaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/cli.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-04-15 17:37:38 +0200
committerGitHub <noreply@github.com>2024-04-15 17:37:38 +0200
commit954bdcb1a271b911bcf204936a014e82de62dd4b (patch)
tree3f5fb2f805b5af8e34b56396597a9aef44274133 /zellij-utils/src/cli.rs
parentd473c7291d375fa99ccfa601bd9e48452f2ac786 (diff)
fix(cli): rename `attach --background` to `attach --create-background` (#3265)
* fix(cli): rename background to create_background * fix(cli): change create-background shortcut
Diffstat (limited to 'zellij-utils/src/cli.rs')
-rw-r--r--zellij-utils/src/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs
index ba1898439..162a23e9e 100644
--- a/zellij-utils/src/cli.rs
+++ b/zellij-utils/src/cli.rs
@@ -126,8 +126,8 @@ pub enum Sessions {
create: bool,
/// Create a detached session in the background if one does not exist
- #[clap(short, long, value_parser)]
- background: bool,
+ #[clap(short('b'), long, value_parser)]
+ create_background: bool,
/// Number of the session index in the active sessions ordered creation date.
#[clap(long, value_parser)]