aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
parentdocs(changelog): resurrection fixes (diff)
downloadsl0ppij-954bdcb1a271b911bcf204936a014e82de62dd4b.tar.gz
sl0ppij-954bdcb1a271b911bcf204936a014e82de62dd4b.tar.xz
sl0ppij-954bdcb1a271b911bcf204936a014e82de62dd4b.zip
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 'src')
-rw-r--r--src/commands.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands.rs b/src/commands.rs
index e0dbbdc2..152cfd08 100644
--- a/src/commands.rs
+++ b/src/commands.rs
@@ -418,7 +418,7 @@ pub(crate) fn start_client(opts: CliArgs) {
opts.command = Some(Command::Sessions(Sessions::Attach {
session_name: reconnect_to_session.name.clone(),
create: true,
- background: false,
+ create_background: false,
force_run_commands: false,
index: None,
options: None,
@@ -478,7 +478,7 @@ pub(crate) fn start_client(opts: CliArgs) {
if let Some(Command::Sessions(Sessions::Attach {
session_name,
create,
- background,
+ create_background,
force_run_commands,
index,
options,
@@ -490,7 +490,7 @@ pub(crate) fn start_client(opts: CliArgs) {
},
None => config_options,
};
- should_create_detached = background;
+ should_create_detached = create_background;
let client = if let Some(idx) = index {
attach_with_session_index(