Skip to content

Commit f95dd0d

Browse files
mz secret positional bool changed to flag
1 parent 3538cae commit f95dd0d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/mz/src/bin/mz/command/secret.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ pub enum SecretSubcommand {
3838
/// The name of the secret.
3939
name: String,
4040
/// Overwrite the existing value of the secret, if it exists.
41+
#[clap(long)]
4142
force: bool,
4243
},
4344
}

test/mz-e2e/mzcompose.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def workflow_default(c: Composition, parser: WorkflowArgumentParser) -> None:
171171

172172
# Assert using force
173173
output = c.run(
174-
"mz", "secret", "create", "CI_SECRET", "force", stdin=secret, capture=True
174+
"mz", "secret", "create", "CI_SECRET", "--force", stdin=secret, capture=True
175175
)
176176
assert output.returncode == 0
177177

0 commit comments

Comments
 (0)