@optique/core 0.7.17-dev.397 → 0.7.17-dev.398

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/dist/facade.cjs CHANGED
@@ -582,8 +582,8 @@ function run(parser, programName, args, options = {}) {
582
582
  const shouldOverride = !isMetaCommandHelp && !isSubcommandHelp;
583
583
  const augmentedDoc = {
584
584
  ...doc,
585
- brief: shouldOverride ? brief ?? doc.brief : doc.brief ?? brief,
586
- description: shouldOverride ? description ?? doc.description : doc.description ?? description,
585
+ brief: shouldOverride ? brief ?? doc.brief : doc.brief,
586
+ description: shouldOverride ? description ?? doc.description : doc.description,
587
587
  footer: shouldOverride ? footer ?? doc.footer : doc.footer ?? footer
588
588
  };
589
589
  stdout(require_doc.formatDocPage(programName, augmentedDoc, {
package/dist/facade.js CHANGED
@@ -582,8 +582,8 @@ function run(parser, programName, args, options = {}) {
582
582
  const shouldOverride = !isMetaCommandHelp && !isSubcommandHelp;
583
583
  const augmentedDoc = {
584
584
  ...doc,
585
- brief: shouldOverride ? brief ?? doc.brief : doc.brief ?? brief,
586
- description: shouldOverride ? description ?? doc.description : doc.description ?? description,
585
+ brief: shouldOverride ? brief ?? doc.brief : doc.brief,
586
+ description: shouldOverride ? description ?? doc.description : doc.description,
587
587
  footer: shouldOverride ? footer ?? doc.footer : doc.footer ?? footer
588
588
  };
589
589
  stdout(formatDocPage(programName, augmentedDoc, {
@@ -730,7 +730,6 @@ function command(name, parser, options = {}) {
730
730
  const innerFragments = parser.getDocFragments(innerState, defaultValue);
731
731
  return {
732
732
  ...innerFragments,
733
- brief: innerFragments.brief ?? options.brief,
734
733
  description: innerFragments.description ?? options.description,
735
734
  footer: innerFragments.footer ?? options.footer
736
735
  };
@@ -730,7 +730,6 @@ function command(name, parser, options = {}) {
730
730
  const innerFragments = parser.getDocFragments(innerState, defaultValue);
731
731
  return {
732
732
  ...innerFragments,
733
- brief: innerFragments.brief ?? options.brief,
734
733
  description: innerFragments.description ?? options.description,
735
734
  footer: innerFragments.footer ?? options.footer
736
735
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/core",
3
- "version": "0.7.17-dev.397+7a3e1705",
3
+ "version": "0.7.17-dev.398+d8856ea2",
4
4
  "description": "Type-safe combinatorial command-line interface parser",
5
5
  "keywords": [
6
6
  "CLI",