mirror of
https://github.com/ilyakooo0/optparse-applicative.git
synced 2024-11-22 22:18:13 +03:00
Test formatting of long metavariables.
This commit is contained in:
parent
b5a9c2a8bf
commit
356758af0c
@ -8,4 +8,5 @@ opts = option $ mconcat
|
||||
[ long "test"
|
||||
, short 't'
|
||||
, value 0
|
||||
, metavar "FOO_BAR_BAZ_LONG_METAVARIABLE"
|
||||
, help "This is an options with a very very long description. Hopefully, this will be nicely formatted by the help text generator." ]
|
||||
|
@ -1,10 +1,11 @@
|
||||
Usage: formatting [-t|--test ARG]
|
||||
Usage: formatting [-t|--test FOO_BAR_BAZ_LONG_METAVARIABLE]
|
||||
This is a very long program description. This
|
||||
text should be automatically wrapped to fit the
|
||||
size of the terminal
|
||||
|
||||
Available options:
|
||||
-t,--test ARG This is an options with
|
||||
-t,--test FOO_BAR_BAZ_LONG_METAVARIABLE
|
||||
This is an options with
|
||||
a very very long
|
||||
description. Hopefully,
|
||||
this will be nicely
|
||||
|
Loading…
Reference in New Issue
Block a user