aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-09-11 22:14:15 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-09-11 22:14:15 +0000
commit62fb97a6a4205491ba973a7fc7ce05ca335eb966 (patch)
tree3d205fdb7f14ef8d98454d5ef4e2784e934a63a2
parentaa5eaa6d68b32f4df84eb2249fae763c856e7d73 (diff)
downloadpaludis-62fb97a6a4205491ba973a7fc7ce05ca335eb966.tar.gz
paludis-62fb97a6a4205491ba973a7fc7ce05ca335eb966.tar.xz
Tinker with adjutrix --help
-rw-r--r--src/adjutrix/command_line.cc26
-rw-r--r--src/adjutrix/command_line.hh5
2 files changed, 22 insertions, 9 deletions
diff --git a/src/adjutrix/command_line.cc b/src/adjutrix/command_line.cc
index a411688..3d5cd74 100644
--- a/src/adjutrix/command_line.cc
+++ b/src/adjutrix/command_line.cc
@@ -22,21 +22,31 @@
CommandLine::CommandLine() :
ArgsHandler(),
- action_args(this, "Actions",
- "Selects which basic action to perform. Exactly one action should "
+ tree_action_args(this, "Tree-Oriented Actions",
+ "Selects which basic tree-oriented action to perform. Exactly one action should "
"be specified."),
- a_find_stable_candidates(&action_args,
+ a_find_stable_candidates(&tree_action_args,
"find-stable-candidates", 's', "Search for stable package candidates"),
- a_find_dropped_keywords(&action_args,
+ a_find_dropped_keywords(&tree_action_args,
"find-dropped-keywords", 'd', "Search for packages where keywords have been dropped"),
- a_keywords_graph(&action_args,
+ a_keywords_graph(&tree_action_args,
"keyword-graph", 'k', "Display keywords graphically"),
- a_display_profiles_use(&action_args,
+
+ profile_action_args(this, "Profile-Oriented Actions",
+ "Selects which basic profile-oriented action to perform. Exactly one action should "
+ "be specified."),
+
+ a_display_profiles_use(&profile_action_args,
"display-profiles-use", 'u', "Display USE information for all profiles"),
- a_version(&action_args,
+
+ general_action_args(this, "General Actions",
+ "Selects which basic general action to perform. Exactly one action should "
+ "be specified."),
+
+ a_version(&general_action_args,
"version", 'V', "Display program version"),
- a_help(&action_args,
+ a_help(&general_action_args,
"help", 'h', "Display program help"),
general_args(this, "General options",
diff --git a/src/adjutrix/command_line.hh b/src/adjutrix/command_line.hh
index ef17201..4b21240 100644
--- a/src/adjutrix/command_line.hh
+++ b/src/adjutrix/command_line.hh
@@ -57,13 +57,16 @@ class CommandLine :
///{
/// Action arguments.
- paludis::args::ArgsGroup action_args;
+ paludis::args::ArgsGroup tree_action_args;
paludis::args::SwitchArg a_find_stable_candidates;
paludis::args::SwitchArg a_find_dropped_keywords;
paludis::args::SwitchArg a_keywords_graph;
+
+ paludis::args::ArgsGroup profile_action_args;
paludis::args::SwitchArg a_display_profiles_use;
+ paludis::args::ArgsGroup general_action_args;
paludis::args::SwitchArg a_version;
paludis::args::SwitchArg a_help;