Commit Graph

5 Commits

Author SHA1 Message Date
Paolo Capriotti
091508459e Replace "Common" with "Available" in help text.
"Common options" was intended as "all except internal", but it could be
interpreted as "global options" for a parser with commands.

Remove the possible confusion by using "Available options" instead,
which is also consistent with the label used for commands.
2012-07-30 19:13:13 +01:00
Paolo Capriotti
612b0de15c Convert Cabal example to arrows. 2012-07-07 23:28:30 +01:00
Paolo Capriotti
72dab3df1f Improve spacing in help text (fixes #4). 2012-07-07 20:54:24 +01:00
Paolo Capriotti
0fa5f170ff Add boolean switch builder.
Add builder to make it easier to create a simple boolean flag. The
`switch` builder is just a `flag` with default value `False` and active
value `True`.
2012-05-12 16:16:42 +01:00
Paolo Capriotti
1eff2d9c6b Add tests. 2012-05-09 22:06:24 +01:00