Add --show-skipped (fix #501) (#502)

This commit is contained in:
Roey Darwish Dror
2020-08-21 23:04:36 +03:00
committed by GitHub
parent d48182e6bd
commit 417ca1257a
18 changed files with 73 additions and 54 deletions

View File

@@ -337,6 +337,10 @@ pub struct CommandLineArgs {
/// A regular expression for restricting remote host execution
#[structopt(long = "remote-host-limit", parse(try_from_str))]
remote_host_limit: Option<Regex>,
/// Show the reason for skipped steps
#[structopt(long = "show-skipped")]
show_skipped: bool,
}
impl CommandLineArgs {
@@ -649,6 +653,10 @@ impl Config {
self.opt.verbose
}
pub fn show_skipped(&self) -> bool {
self.opt.show_skipped
}
#[cfg(target_os = "linux")]
str_value!(linux, emerge_sync_flags);