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

lutoff
20.06.2007 d2e68c8f0246325755966214bc123b406ff7b122
refs
author lutoff <lutoff@localhost>
Friday, July 20, 2007 10:06 +0200
committer lutoff <lutoff@localhost>
Friday, July 20, 2007 10:06 +0200
commitd2e68c8f0246325755966214bc123b406ff7b122
tree 4239f3f7dbcac0faf8d8253ca7c0000b523f6a6a tree | zip | gz
parent c7f826f2a56b72c1b240daddc8fc1ec119fb7b68 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
opendj-sdk/opends/src/server/org/opends/server/messages/UtilityMessages.java 8 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/args/SubCommandArgumentParser.java 9 ●●●● diff | view | raw | blame | history