vito / booklit

a pretty lit content authoring system
https://booklit.page
MIT License
175 stars 55 forks source link

booklit --help prints help text twice #38

Closed vito closed 2 years ago

vito commented 3 years ago
❯ booklit --help
INFO[0000] plugin registered                             plugin=base
Usage:
  booklit [OPTIONS]

Application Options:
  -v, --version                  Print the version of Boooklit and exit.
  -i, --in=                      Input .lit file to load.
  -o, --out=                     Directory into which sections will be rendered.
      --section-tag=             Section tag to render.
      --section-path=            Section path to load and render with --in as its parent.
      --save-search-index        Save a search index JSON file in the destination.
  -s, --serve=                   Start an HTTP server on the given port.
  -p, --plugin=                  Package to import, providing a plugin.
  -d, --debug                    Log at debug level.
      --allow-broken-references  Replace broken references with a bogus tag.

HTML Rendering Engine:
      --html-templates=          Directory containing .tmpl files to load.

Text Rendering Engine:
      --text-file-extension=     File extension to use for generated files.
      --text-templates=          Directory containing .tmpl files to load.

Help Options:
  -h, --help                     Show this help message

Usage:
  booklit [OPTIONS]

Application Options:
  -v, --version                  Print the version of Boooklit and exit.
  -i, --in=                      Input .lit file to load.
  -o, --out=                     Directory into which sections will be rendered.
      --section-tag=             Section tag to render.
      --section-path=            Section path to load and render with --in as its parent.
      --save-search-index        Save a search index JSON file in the destination.
  -s, --serve=                   Start an HTTP server on the given port.
  -p, --plugin=                  Package to import, providing a plugin.
  -d, --debug                    Log at debug level.
      --allow-broken-references  Replace broken references with a bogus tag.

HTML Rendering Engine:
      --html-templates=          Directory containing .tmpl files to load.

Text Rendering Engine:
      --text-file-extension=     File extension to use for generated files.
      --text-templates=          Directory containing .tmpl files to load.

Help Options:
  -h, --help                     Show this help message
vito commented 2 years ago

this is fixed now (don't know when)