3
0
Fork 0
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:
Dragory 2019-10-25 20:25:25 +03:00
parent bfe224925b
commit bdf44c32ff
4 changed files with 27 additions and 27 deletions

View file

@ -169,7 +169,7 @@
}
},
renderOption(opt) {
let str = `--${opt.name}`;
let str = `-${opt.name}`;
if (opt.shortcut) {
str += `|-${opt.shortcut}`;
}