jackfirth / resyntax

A Racket refactoring engine
Apache License 2.0
51 stars 10 forks source link

Fix unhelpful help output #208

Closed Release-Candidate closed 1 year ago

Release-Candidate commented 1 year ago

resyntax --help does not print available commands (fix and analyze). Add this information and a link to the Resyntax documentation.

New output of resyntax --help:

usage: resyntax [ <option> ... ] <command> [<leftover-args>] ...

<command> is one of

        analyze
        fix

For help on these, use 'analyze --help' or 'fix --help'.

<option> is one of

  --help, -h
     Show this help
  --
     Do not treat any remaining argument as a switch (at this level)

 Multiple single-letter switches can be combined after
 one `-`. For example, `-h-` is the same as `-h --`.

See https://docs.racket-lang.org/resyntax/index.html for details.
jackfirth commented 1 year ago

Thank you very much!