fix: Fixup runnable example input arguments

This command has no name, so drop the `test-cmd` in `args`.
main
Travis Lane 4 years ago
parent 2e9dc401bb
commit 1f380b0733
No known key found for this signature in database
GPG Key ID: 608336C7F2978993

@ -612,7 +612,7 @@ given sources.
Here is a more complete sample of a command using YAML support: Here is a more complete sample of a command using YAML support:
<!-- { <!-- {
"args": ["test-cmd", "&#45;&#45;help"], "args": ["&#45;&#45;help"],
"output": "&#45&#45;test value.*default: 0" "output": "&#45&#45;test value.*default: 0"
} --> } -->
``` go ``` go

@ -627,7 +627,7 @@ given sources.
Here is a more complete sample of a command using YAML support: Here is a more complete sample of a command using YAML support:
<!-- { <!-- {
"args": ["test-cmd", "&#45;&#45;help"], "args": ["&#45;&#45;help"],
"output": "&#45&#45;test value.*default: 0" "output": "&#45&#45;test value.*default: 0"
} --> } -->
``` go ``` go

Loading…
Cancel
Save