Feature #36
The format of the --help output should be changed
| Status: | Closed | Start: | ||
| Priority: | High | Due date: | ||
| Assigned to: | Karl Heinz Marbaise | % Done: | 100% |
|
| Category: | CLI | |||
| Target version: | 0.6.2 Calypso RC1 | |||
Description
We should change the output format of the --help option output. This might be done, by using different settings to the HelpFormatter object.
History
Updated by Karl Heinz Marbaise 1192 days ago
- Assigned to changed from kama - to Karl Heinz Marbaise
Updated by Karl Heinz Marbaise 1106 days ago
- Target version changed from 0.5.0 Ceres to 0.5.1 Europa
Updated by Karl Heinz Marbaise 1078 days ago
- Target version changed from 0.5.1 Europa to 0.5.2 Bergelmir
Updated by Karl Heinz Marbaise 1004 days ago
- Target version changed from 0.5.2 Bergelmir to 0.6.0 Bebhionn
Updated by Karl Heinz Marbaise 978 days ago
- Target version changed from 0.6.0 Bebhionn to 0.6.1 Bestla
Updated by Karl Heinz Marbaise 962 days ago
- Target version changed from 0.6.1 Bestla to 0.6.2 Calypso
Updated by Michael Krkoska 929 days ago
- File SuposeCLI.java.patch added
- % Done changed from 0 to 90
Hi,
the badly formatted help is a real pain for new users trying to get to grips with supose.
I tried fixing it by using different settings on the HelpFormatter instance, but I failed. After reading the source code of HelpFormatter.printHelp(), I don't think it is currently possible to tune its behaviour in our usecase.
The attached patch solves the problem by printing the options on its own. The constant HELP_OPTION_DESCRIPTION_INDENT controls the indent of the option descriptions.
Maybe you can use this, bye,
Michael
Updated by kama - 924 days ago
- Status changed from New to Closed
- % Done changed from 90 to 100
Applied in changeset r410.
Updated by Karl Heinz Marbaise 704 days ago
- Target version changed from 0.6.2 Calypso to 0.6.2 Calypso RC1