Skip to content

Commit fdab2f1

Browse files
committed
fix registry resource
1 parent acf9032 commit fdab2f1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

registry/registry.dsc.resource.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"executable": "registry",
3333
"args": [
3434
"config",
35-
"remove",
35+
"delete",
3636
{
3737
"jsonInputArg": "--input",
3838
"mandatory": true

registry/src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub enum ConfigSubCommand {
2424
input: String,
2525
},
2626
#[clap(name = "delete", about = "Delete registry configuration.")]
27-
Remove {
27+
Delete {
2828
#[clap(short, long, required = true, help = "The registry JSON input.")]
2929
input: String,
3030
},

registry/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ fn main() {
7979
}
8080
}
8181
},
82-
args::ConfigSubCommand::Remove{input} => {
82+
args::ConfigSubCommand::Delete{input} => {
8383
let reg_helper = match RegistryHelper::new(&input) {
8484
Ok(reg_helper) => reg_helper,
8585
Err(err) => {

0 commit comments

Comments
 (0)