Add a short help flag #44

Closed
opened 2017-08-10 16:56:54 +02:00 by expipiplus1 · 3 comments
expipiplus1 commented 2017-08-10 16:56:54 +02:00 (Migrated from github.com)

The first thing I tried to do with brittany was brittany -h :)

$ brittany -h
-h: openBinaryFile: does not exist (No such file or directory)
The first thing I tried to do with brittany was `brittany -h` :) ``` $ brittany -h -h: openBinaryFile: does not exist (No such file or directory) ```
lspitzner commented 2017-08-10 18:06:30 +02:00 (Migrated from github.com)

And while at it, I noticed and fixed the help layouting over at https://github.com/lspitzner/butcher so we have

USAGE

  brittany [-i,--input PATH] [-o,--output PATH] [--config-file PATH]
           [--indent AMOUNT] [--columns AMOUNT] [--import-col N]
           [--ghc-options STRING] [-v,--verbose]
           [-h,--help] [--version] [--license] [--dump-config]
           [--dump-annotations] [--dump-ast-unknown] [--dump-ast-full]
           [--dump-bridoc-raw] [--dump-bridoc-alt] [--dump-bridoc-par]
           [--dump-bridoc-floating] [--dump-bridoc-columns]
           [--dump-bridoc-indent] [--dump-bridoc-final] [--output-on-errors]
           [--werror] [--omit-output-check] [--exactprint-only]
           [--suppress-output]
           [PATH]
           [help | license]

instead of

USAGE

  brittany [-i,--input PATH -o,--output PATH --config-file PATH
            --indent AMOUNT --columns AMOUNT --import-col N
            --ghc-options STRING -v,--verbose] [-h,--help] [--version]
                                               [--license] [--dump-config] [--dump-annotations]
                                               [--dump-ast-unknown] [--dump-ast-full]
                                               [--dump-bridoc-raw] [--dump-bridoc-alt]
                                               [--dump-bridoc-par] [--dump-bridoc-floating]
                                               [--dump-bridoc-columns] [--dump-bridoc-indent]
                                               [--dump-bridoc-final] [--output-on-errors] [--werror]
                                               [--omit-output-check] [--exactprint-only]
                                               [--suppress-output]
           [PATH] [help | license]
And while at it, I noticed and fixed the help layouting over at https://github.com/lspitzner/butcher so we have ~~~~ USAGE brittany [-i,--input PATH] [-o,--output PATH] [--config-file PATH] [--indent AMOUNT] [--columns AMOUNT] [--import-col N] [--ghc-options STRING] [-v,--verbose] [-h,--help] [--version] [--license] [--dump-config] [--dump-annotations] [--dump-ast-unknown] [--dump-ast-full] [--dump-bridoc-raw] [--dump-bridoc-alt] [--dump-bridoc-par] [--dump-bridoc-floating] [--dump-bridoc-columns] [--dump-bridoc-indent] [--dump-bridoc-final] [--output-on-errors] [--werror] [--omit-output-check] [--exactprint-only] [--suppress-output] [PATH] [help | license] ~~~~ instead of ~~~~ USAGE brittany [-i,--input PATH -o,--output PATH --config-file PATH --indent AMOUNT --columns AMOUNT --import-col N --ghc-options STRING -v,--verbose] [-h,--help] [--version] [--license] [--dump-config] [--dump-annotations] [--dump-ast-unknown] [--dump-ast-full] [--dump-bridoc-raw] [--dump-bridoc-alt] [--dump-bridoc-par] [--dump-bridoc-floating] [--dump-bridoc-columns] [--dump-bridoc-indent] [--dump-bridoc-final] [--output-on-errors] [--werror] [--omit-output-check] [--exactprint-only] [--suppress-output] [PATH] [help | license] ~~~~
lspitzner commented 2017-08-10 18:07:03 +02:00 (Migrated from github.com)

Guess a new release is warranted relatively soon.

Guess a new release is warranted relatively soon.
expipiplus1 commented 2017-08-12 22:57:46 +02:00 (Migrated from github.com)
Thanks! On Sat, 12 Aug 2017, 3:08 pm Lennart Spitzner, <notifications@github.com> wrote: > Closed #44 <https://github.com/lspitzner/brittany/issues/44> via b0f211f > <https://github.com/lspitzner/brittany/commit/b0f211fbfc9c05d627495b2d33ac64fff148ee4a> > . > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/lspitzner/brittany/issues/44#event-1203620229>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/AA0U3BjG-54sadvDYJfgYXhUjwi6CH6Pks5sXbHAgaJpZM4OzjI3> > . >
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hexagoxel/brittany#44
There is no content yet.