diff --git a/config.example.toml b/config.example.toml index 988a62a9..1aab58b7 100644 --- a/config.example.toml +++ b/config.example.toml @@ -44,6 +44,10 @@ # Do not ask to retry failed steps (default: false) # no_retry = true +# Show the reason for skipped steps (default: false) +# This has no effect if the "only" option is specified +# show_skipped = true + # Run inside tmux (default: false) # run_in_tmux = true diff --git a/src/config.rs b/src/config.rs index d46c904b..a8807876 100644 --- a/src/config.rs +++ b/src/config.rs @@ -318,6 +318,8 @@ pub struct Misc { no_retry: Option, + show_skipped: Option, + run_in_tmux: Option, tmux_session_mode: Option, @@ -1487,6 +1489,12 @@ impl Config { pub fn show_skipped(&self) -> bool { self.opt.show_skipped + || self + .config_file + .misc + .as_ref() + .and_then(|misc| misc.show_skipped) + .unwrap_or(false) } pub fn open_remotes_in_new_terminal(&self) -> bool {