Skip to content

Commit

Permalink
fix: Rename --cinc parameter to --cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian May committed Nov 6, 2023
1 parent 213be3c commit 164e3cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"brianmay",
"Buildx",
"chrono",
"cinc",
"Clippy",
"COLOR",
"crossterm",
Expand All @@ -23,4 +22,4 @@
"Vals",
"vdir"
]
}
}
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ struct Args {

/// Filter releases to use based on cluster.
#[clap(long)]
cinc: Vec<String>,
cluster: Vec<String>,

/// The source directory containing the helm-values.
#[clap(long)]
Expand Down Expand Up @@ -464,7 +464,7 @@ fn generate_todo(
// We don't show skipped entries to the user if the env was skipped or the cluster was skipped
let hide_skip = env.config.locked
|| (args.env != "*" && args.env != env_name)
|| (!args.cinc.is_empty() && !args.cinc.contains(&cluster_name))
|| (!args.cluster.is_empty() && !args.cluster.contains(&cluster_name))
|| cluster.config.locked;

// We also do skip entries if the install is to be skipped, these will be shown
Expand Down

0 comments on commit 164e3cf

Please sign in to comment.