aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-06 17:53:29 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-06 17:53:29 +0000
commit479d37420c085a74b5037b2d0bd6910760d576d1 (patch)
treec04de53119a7d9c26e4469a283eb16ae494c77c2
parent52ccce101356097665123dce14ecde9e65f2181f (diff)
downloadpaludis-479d37420c085a74b5037b2d0bd6910760d576d1.tar.gz
paludis-479d37420c085a74b5037b2d0bd6910760d576d1.tar.xz
Move --list-{categories,packages,repositories} to being displayed as internal / script use
-rw-r--r--src/command_line.cc6
-rw-r--r--src/command_line.hh18
2 files changed, 12 insertions, 12 deletions
diff --git a/src/command_line.cc b/src/command_line.cc
index db8ad4a..a8bad65 100644
--- a/src/command_line.cc
+++ b/src/command_line.cc
@@ -27,9 +27,6 @@ CommandLine::CommandLine() :
a_install(&action_args, "install", 'i', "Install one or more packages"),
a_uninstall(&action_args, "uninstall", 'u', "Uninstall one or more packages"),
a_sync(&action_args, "sync", 's', "Sync repositories"),
- a_list_repositories(&action_args, "list-repositories", '\0', "List available repositories"),
- a_list_categories(&action_args, "list-categories", '\0', "List available categories"),
- a_list_packages(&action_args, "list-packages", '\0', "List available packages"),
a_contents(&action_args, "contents", 'k', "Display contents of a package"),
a_owner(&action_args, "owner", 'o', "Display the owner of a file"),
a_version(&action_args, "version", 'V', "Display program version"),
@@ -41,6 +38,9 @@ CommandLine::CommandLine() :
a_best_version(&action_args_internal, "best-version", '\0', "Display the best version of the specified atom"),
a_environment_variable(&action_args_internal, "environment-variable", '\0', "Display the value of an environment "
"variable for a particular package"),
+ a_list_repositories(&action_args_internal, "list-repositories", '\0', "List available repositories"),
+ a_list_categories(&action_args_internal, "list-categories", '\0', "List available categories"),
+ a_list_packages(&action_args_internal, "list-packages", '\0', "List available packages"),
a_list_sync_protocols(&action_args_internal, "list-sync-protocols", '\0', "List available sync protocols"),
a_list_repository_formats(&action_args_internal, "list-repository-formats", '\0', "List available repository formats"),
a_list_dep_tag_categories(&action_args_internal, "list-dep-tag-categories", '\0', "List known dep tag categories"),
diff --git a/src/command_line.hh b/src/command_line.hh
index 3609b7d..3f2b3a6 100644
--- a/src/command_line.hh
+++ b/src/command_line.hh
@@ -62,15 +62,6 @@ class CommandLine :
/// --sync
paludis::args::SwitchArg a_sync;
- /// --list-repositories
- paludis::args::SwitchArg a_list_repositories;
-
- /// --list-categories
- paludis::args::SwitchArg a_list_categories;
-
- /// --list-packages
- paludis::args::SwitchArg a_list_packages;
-
/// --contents
paludis::args::SwitchArg a_contents;
@@ -98,6 +89,15 @@ class CommandLine :
/// --environment-variable
paludis::args::SwitchArg a_environment_variable;
+ /// --list-repositories
+ paludis::args::SwitchArg a_list_repositories;
+
+ /// --list-categories
+ paludis::args::SwitchArg a_list_categories;
+
+ /// --list-packages
+ paludis::args::SwitchArg a_list_packages;
+
/// --list-sync-protocols
paludis::args::SwitchArg a_list_sync_protocols;