mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Recommend -option instead of --option
Since knub-command-manager accepts both -option and --option now, this change should make options more intuitive to use. Both syntaxes are still supported and neither is getting deprecated for now.
This commit is contained in:
parent
bfe224925b
commit
bdf44c32ff
4 changed files with 27 additions and 27 deletions
|
@ -169,7 +169,7 @@
|
|||
}
|
||||
},
|
||||
renderOption(opt) {
|
||||
let str = `--${opt.name}`;
|
||||
let str = `-${opt.name}`;
|
||||
if (opt.shortcut) {
|
||||
str += `|-${opt.shortcut}`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue