mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
20.06.2007 7500817057f828ad193c5d0ddacdd7bc38e172e0
refs
author lutoff <lutoff@localhost>
Friday, July 20, 2007 10:06 +0200
committer lutoff <lutoff@localhost>
Friday, July 20, 2007 10:06 +0200
commit7500817057f828ad193c5d0ddacdd7bc38e172e0
tree 9ff5bbc433433016994c1f735214efe9288b7172 tree | zip | gz
parent 8fa0a45bd4432bee7e4e6dbd2709ee4b12356fb4 view | diff
When command grouping is used (in dscondig for instance) the top level help displays:

$ dsconfig --help
This utility may be used to define a base configuration for the Directory
Server
Usage: dsconfig {subcommand} {options}

Available subcommands:
--help-core
Display subcommands relating to core server
--help-database
Display subcommands relating to caching and back-ends
<...>

This modification replaces the help sentence ("Available subcommands") by "To get the list of subcommands use:"

dsconfig --help
This utility may be used to define a base configuration for the Directory
Server
Usage: dsconfig {subcommand} {options}

To get the list of subcommands use:
--help-core
Display subcommands relating to core server
--help-database
Display subcommands relating to caching and back-ends
<...>


2 files modified
17 ■■■■■ changed files
opends/src/server/org/opends/server/messages/UtilityMessages.java 8 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/args/SubCommandArgumentParser.java 9 ●●●● diff | view | raw | blame | history