diff --git a/resources/registry/registry.dsc.resource.json b/resources/registry/registry.dsc.resource.json index 8a5490869..e92d55d88 100644 --- a/resources/registry/registry.dsc.resource.json +++ b/resources/registry/registry.dsc.resource.json @@ -25,6 +25,9 @@ { "jsonInputArg": "--input", "mandatory": true + }, + { + "whatIfArg": "-w" } ] }, @@ -36,21 +39,11 @@ { "jsonInputArg": "--input", "mandatory": true - } - ] - }, - "whatIf": { - "executable": "registry", - "args": [ - "config", - "set", - "-w", + }, { - "jsonInputArg": "--input", - "mandatory": true + "whatIfArg": "-w" } - ], - "return": "state" + ] }, "exitCodes": { "0": "Success",