diff --git a/.vscode/settings.json b/.vscode/settings.json index 9d3fe0b..8c12a82 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,7 +5,6 @@ "brianmay", "Buildx", "chrono", - "cinc", "Clippy", "COLOR", "crossterm", @@ -23,4 +22,4 @@ "Vals", "vdir" ] -} \ No newline at end of file +} diff --git a/src/main.rs b/src/main.rs index d4e36c4..98c6da6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -158,7 +158,7 @@ struct Args { /// Filter releases to use based on cluster. #[clap(long)] - cinc: Vec, + cluster: Vec, /// The source directory containing the helm-values. #[clap(long)] @@ -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