bdy 1.7.53-dev → 1.7.54-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/utils.js +0 -9
package/package.json
CHANGED
package/src/utils.js
CHANGED
|
@@ -284,15 +284,6 @@ const formatHelp = (cmd, helper) => {
|
|
|
284
284
|
output = output.concat(['OPTIONS:', formatList(optionList), '']);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
if (this.showGlobalOptions) {
|
|
288
|
-
const globalOptionList = helper.visibleGlobalOptions(cmd).map((option) => {
|
|
289
|
-
return formatItem(helper.optionTerm(option), helper.optionDescription(option));
|
|
290
|
-
});
|
|
291
|
-
if (globalOptionList.length > 0) {
|
|
292
|
-
output = output.concat(['GLOBAL OPTIONS:', formatList(globalOptionList), '']);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
287
|
// Commands
|
|
297
288
|
const commandList = helper.visibleCommands(cmd).map((cmd) => {
|
|
298
289
|
return formatItem(helper.subcommandTerm(cmd), helper.subcommandDescription(cmd));
|