aboutsummaryrefslogtreecommitdiff
path: root/src/clients
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-19 11:44:21 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-19 11:44:21 +0000
commit7d73417eb461c69f78577cffc4034ff837c70948 (patch)
treec72f702a9031729f29fe66039b3e7305448eed20 /src/clients
parent6e3e3cfcdcbae9abe74e741f36ce6937f732bf05 (diff)
downloadpaludis-7d73417eb461c69f78577cffc4034ff837c70948.tar.gz
paludis-7d73417eb461c69f78577cffc4034ff837c70948.tar.xz
Support for --no- for various switch args
Diffstat (limited to 'src/clients')
-rw-r--r--src/clients/accerso/command_line.cc8
-rw-r--r--src/clients/accerso/man_accerso.cc2
-rw-r--r--src/clients/adjutrix/command_line.cc28
-rw-r--r--src/clients/adjutrix/man_adjutrix.cc2
-rw-r--r--src/clients/contrarius/command_line.cc16
-rw-r--r--src/clients/contrarius/man_contrarius.cc2
-rw-r--r--src/clients/importare/command_line.cc12
-rw-r--r--src/clients/importare/man_importare.cc2
-rw-r--r--src/clients/inquisitio/command_line.cc24
-rw-r--r--src/clients/inquisitio/man_inquisitio.cc2
-rw-r--r--src/clients/instruo/command_line.cc8
-rw-r--r--src/clients/instruo/man_instruo.cc2
-rw-r--r--src/clients/paludis/command_line.cc90
-rw-r--r--src/clients/paludis/man_paludis.cc2
-rw-r--r--src/clients/qualudis/man_qualudis.cc2
-rw-r--r--src/clients/qualudis/qualudis_command_line.cc6
-rw-r--r--src/clients/reconcilio/command_line.cc14
-rw-r--r--src/clients/reconcilio/man_reconcilio.cc2
18 files changed, 112 insertions, 112 deletions
diff --git a/src/clients/accerso/command_line.cc b/src/clients/accerso/command_line.cc
index 37d9b146d..2272ee7d2 100644
--- a/src/clients/accerso/command_line.cc
+++ b/src/clients/accerso/command_line.cc
@@ -30,14 +30,14 @@ CommandLine::CommandLine() :
action_args(this, "Actions",
"Selects which basic action to perform. Exactly one action should "
"be specified."),
- a_fetch(&action_args, "fetch", 'f', "Fetch necessary distfiles"),
- a_version(&action_args, "version", 'V', "Display program version"),
- a_help(&action_args, "help", 'h', "Display program help"),
+ a_fetch(&action_args, "fetch", 'f', "Fetch necessary distfiles", false),
+ a_version(&action_args, "version", 'V', "Display program version", false),
+ a_help(&action_args, "help", 'h', "Display program help", false),
general_args(this, "General options",
"Options which are relevant for most or all actions."),
a_log_level(&general_args, "log-level", '\0'),
- a_no_colour(&general_args, "no-colour", '\0', "Do not use colour"),
+ a_no_colour(&general_args, "no-colour", '\0', "Do not use colour", false),
a_no_color(&a_no_colour, "no-color"),
a_repository_directory(&general_args, "repository-dir", 'D',
"Where to find the repository (default: current directory)"),
diff --git a/src/clients/accerso/man_accerso.cc b/src/clients/accerso/man_accerso.cc
index 43fa418f7..534c19b78 100644
--- a/src/clients/accerso/man_accerso.cc
+++ b/src/clients/accerso/man_accerso.cc
@@ -36,7 +36,7 @@ namespace
ManCommandLine() :
group(this, "", ""),
- a_html(&group, "html", '\0', "")
+ a_html(&group, "html", '\0', "", false)
{
}
diff --git a/src/clients/adjutrix/command_line.cc b/src/clients/adjutrix/command_line.cc
index 503f4b998..b7f78ec92 100644
--- a/src/clients/adjutrix/command_line.cc
+++ b/src/clients/adjutrix/command_line.cc
@@ -32,19 +32,19 @@ CommandLine::CommandLine() :
"be specified."),
a_find_stable_candidates(&tree_action_args,
- "find-stable-candidates", 's', "Search for stable package candidates"),
+ "find-stable-candidates", 's', "Search for stable package candidates", false),
a_find_dropped_keywords(&tree_action_args,
- "find-dropped-keywords", 'd', "Search for packages where keywords have been dropped"),
+ "find-dropped-keywords", 'd', "Search for packages where keywords have been dropped", false),
a_find_insecure_packages(&tree_action_args,
- "find-insecure-packages", 'i', "Search for packages marked as insecure by a GLSA"),
+ "find-insecure-packages", 'i', "Search for packages marked as insecure by a GLSA", false),
a_find_unused_packages(&tree_action_args,
- "find-unused-packages", 'U', "Search package versions that can probably safely be removed"),
+ "find-unused-packages", 'U', "Search package versions that can probably safely be removed", false),
a_keywords_graph(&tree_action_args,
- "keyword-graph", 'k', "Display keywords graphically"),
+ "keyword-graph", 'k', "Display keywords graphically", false),
a_reverse_deps(&tree_action_args,
- "reverse-deps", 'r', "Find all package that depend on a given dep spec"),
+ "reverse-deps", 'r', "Find all package that depend on a given dep spec", false),
a_what_needs_keywording(&tree_action_args,
- "what-needs-keywording", 'w', "Display what needs to be done to keyword a target"),
+ "what-needs-keywording", 'w', "Display what needs to be done to keyword a target", false),
profile_action_args(this, "Profile-Oriented Actions",
"Selects which basic profile-oriented action to perform. Exactly one action should "
@@ -52,30 +52,30 @@ CommandLine::CommandLine() :
a_display_default_system_resolution(&profile_action_args,
"display-default-system-resolution", 'S', "Display package names and versions that are included in "
- "the default resolution of the system set"),
+ "the default resolution of the system set", false),
downgrade_check_args(this, "Downgrade Check Actions",
"Selects which downgrade check related action to perform. Exactly one action should "
"be specified."),
a_build_downgrade_check_list(&downgrade_check_args,
- "build-downgrade-check-list", '\0', "Build the downgrade check lists"),
+ "build-downgrade-check-list", '\0', "Build the downgrade check lists", false),
a_downgrade_check(&downgrade_check_args,
- "downgrade-check", '\0', "Perform the dowgrade check"),
+ "downgrade-check", '\0', "Perform the dowgrade check", false),
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"),
+ "version", 'V', "Display program version", false),
a_help(&general_action_args,
- "help", 'h', "Display program help"),
+ "help", 'h', "Display program help", false),
general_args(this, "General options",
"Options which are relevant for most or all actions."),
a_log_level(&general_args, "log-level", '\0'),
- a_no_colour(&general_args, "no-colour", '\0', "Do not use colour"),
+ a_no_colour(&general_args, "no-colour", '\0', "Do not use colour", false),
a_no_color(&a_no_colour, "no-color"),
a_repository_directory(&general_args, "repository-dir", 'D',
@@ -95,7 +95,7 @@ CommandLine::CommandLine() :
a_profile(&profile_args, "profile", '\0',
"Display results for this profile path, rather than all profiles (may be specified multiple times)"),
a_unstable(&profile_args, "unstable", '\0',
- "Accept ~arch as well as arch"),
+ "Accept ~arch as well as arch", true),
configuration_options(this, "Configuration options",
"Options that control general configuration."),
diff --git a/src/clients/adjutrix/man_adjutrix.cc b/src/clients/adjutrix/man_adjutrix.cc
index 5916717c0..061977718 100644
--- a/src/clients/adjutrix/man_adjutrix.cc
+++ b/src/clients/adjutrix/man_adjutrix.cc
@@ -36,7 +36,7 @@ namespace
ManCommandLine() :
group(this, "", ""),
- a_html(&group, "html", '\0', "")
+ a_html(&group, "html", '\0', "", false)
{
}
diff --git a/src/clients/contrarius/command_line.cc b/src/clients/contrarius/command_line.cc
index 86c19b981..503225237 100644
--- a/src/clients/contrarius/command_line.cc
+++ b/src/clients/contrarius/command_line.cc
@@ -29,13 +29,13 @@ CommandLine::CommandLine() :
"Selects which basic action to perform. Up to one action should "
"be specified. If no action is specified, contrarius tries to create"
"a cross toolchain."),
- a_version(&action_args, "version", 'V', "Display program version"),
- a_help(&action_args, "help", 'h', "Display program help"),
+ a_version(&action_args, "version", 'V', "Display program version", false),
+ a_help(&action_args, "help", 'h', "Display program help", false),
build_args(this, "Building",
"Tweak toolchain creation."),
- a_fetch(&build_args, "fetch", 'f', "Only fetch sources; don't install anything"),
- a_pretend(&build_args, "pretend", 'p', "Pretend only"),
+ a_fetch(&build_args, "fetch", 'f', "Only fetch sources; don't install anything", false),
+ a_pretend(&build_args, "pretend", 'p', "Pretend only", true),
a_environment(&build_args, "environment", 'E', "Environment specification (class:suffix, both parts optional)"),
a_show_reasons(&build_args, "show-reasons", '\0', "Show why packages are being installed",
paludis::args::EnumArg::EnumArgOptions
@@ -52,8 +52,8 @@ CommandLine::CommandLine() :
"binutils"),
a_target(&build_args, "target", 't', "Build for specified CTARGET."),
a_headers(&build_args, "headers", 'H',
- "Add additional stage to install kernel- and libc-headers before gcc."),
- a_always_rebuild(&build_args, "always-rebuild", 'r', "Always rebuild already built stages."),
+ "Add additional stage to install kernel- and libc-headers before gcc.", true),
+ a_always_rebuild(&build_args, "always-rebuild", 'r', "Always rebuild already built stages.", true),
a_debug_build(&build_args, "debug-build", '\0', "What to do with debug information",
paludis::args::EnumArg::EnumArgOptions
@@ -64,9 +64,9 @@ CommandLine::CommandLine() :
output_options(this, "Options for output verbosity",
"Control how verbose contrarius is."),
- a_verbose(&output_options, "verbose", 'v', "Be verbose"),
+ a_verbose(&output_options, "verbose", 'v', "Be verbose", true),
a_log_level(&output_options, "log-level", 'L'),
- a_no_colour(&output_options, "no-colour", 'C', "Do not use colour"),
+ a_no_colour(&output_options, "no-colour", 'C', "Do not use colour", false),
a_no_color(&a_no_colour, "no-color"),
a_resume_command_template(&output_options, "resume-command-template", '\0', "Save the resume command to a file made using mkstemp(3)")
{
diff --git a/src/clients/contrarius/man_contrarius.cc b/src/clients/contrarius/man_contrarius.cc
index 73f45b452..f5210a318 100644
--- a/src/clients/contrarius/man_contrarius.cc
+++ b/src/clients/contrarius/man_contrarius.cc
@@ -37,7 +37,7 @@ namespace
ManCommandLine() :
group(this, "", ""),
- a_html(&group, "html", '\0', "")
+ a_html(&group, "html", '\0', "", false)
{
}
diff --git a/src/clients/importare/command_line.cc b/src/clients/importare/command_line.cc
index f604d4dd6..6143c37dd 100644
--- a/src/clients/importare/command_line.cc
+++ b/src/clients/importare/command_line.cc
@@ -30,17 +30,17 @@ CommandLine::CommandLine() :
action_args(this, "Actions",
"Selects which basic action to perform. Exactly one action should "
"be specified."),
- a_install(&action_args, "install", 'i', "Install one or more packages (default)"),
- a_version(&action_args, "version", 'V', "Display program version"),
- a_help(&action_args, "help", 'h', "Display program help"),
+ a_install(&action_args, "install", 'i', "Install one or more packages (default)", false),
+ a_version(&action_args, "version", 'V', "Display program version", false),
+ a_help(&action_args, "help", 'h', "Display program help", false),
general_args(this, "General options",
"Options which are relevant for most or all actions."),
a_log_level(&general_args, "log-level", '\0'),
- a_no_colour(&general_args, "no-colour", '\0', "Do not use colour"),
+ a_no_colour(&general_args, "no-colour", '\0', "Do not use colour", false),
a_no_color(&a_no_colour, "no-color"),
a_environment(&general_args, "environment", 'E', "Environment specification (class:suffix, both parts optional)"),
- a_compact(&general_args, "compact", '\0', "Display output using one line per entry"),
+ a_compact(&general_args, "compact", '\0', "Display output using one line per entry", true),
source_args(this, "Source options",
"Options affecting the source image"),
@@ -51,7 +51,7 @@ CommandLine::CommandLine() :
a_description(&metadata_args, "description", 'D', "Specify a package description"),
a_build_dependency(&metadata_args, "build-dependency", 'B', "Specify a build dependency"),
a_run_dependency(&metadata_args, "run-dependency", 'R', "Specify a run dependency"),
- a_preserve_metadata(&metadata_args, "preserve-metadata", 'P', "If replacing a package, copy its description and dependencies"),
+ a_preserve_metadata(&metadata_args, "preserve-metadata", 'P', "If replacing a package, copy its description and dependencies", true),
install_args(this, "Install options",
"Options which are relevant for --install"),
diff --git a/src/clients/importare/man_importare.cc b/src/clients/importare/man_importare.cc
index 43fa418f7..534c19b78 100644
--- a/src/clients/importare/man_importare.cc
+++ b/src/clients/importare/man_importare.cc
@@ -36,7 +36,7 @@ namespace
ManCommandLine() :
group(this, "", ""),
- a_html(&group, "html", '\0', "")
+ a_html(&group, "html", '\0', "", false)
{
}
diff --git a/src/clients/inquisitio/command_line.cc b/src/clients/inquisitio/command_line.cc
index 5a3cd29eb..268d80a15 100644
--- a/src/clients/inquisitio/command_line.cc
+++ b/src/clients/inquisitio/command_line.cc
@@ -31,14 +31,14 @@ CommandLine::CommandLine() :
action_args(this, "Actions",
"Selects which basic action to perform. Exactly one action should "
"be specified."),
- a_search(&action_args, "search", 's', "Search for a package"),
- a_version(&action_args, "version", 'V', "Display program version"),
- a_help(&action_args, "help", 'h', "Display program help"),
+ a_search(&action_args, "search", 's', "Search for a package", false),
+ a_version(&action_args, "version", 'V', "Display program version", false),
+ a_help(&action_args, "help", 'h', "Display program help", false),
general_args(this, "General options",
"Options that are relevant for most or all actions."),
a_log_level(&general_args, "log-level", '\0'),
- a_no_colour(&general_args, "no-colour", '\0', "Do not use colour"),
+ a_no_colour(&general_args, "no-colour", '\0', "Do not use colour", false),
a_no_color(&a_no_colour, "no-color"),
a_environment(&general_args, "environment", 'E', "Environment specification (class:suffix, both parts optional)"),
@@ -51,9 +51,9 @@ CommandLine::CommandLine() :
("pcre", "Regular expression match using pcre")
("exact", "Exact text match"),
"text"),
- a_flatten(&match_args, "flatten", 'f', "Flatten spec trees, rather than matching against individual items"),
- a_enabled_only(&match_args, "enabled-only", 'e', "When searching spec trees, only look in enabled subtrees"),
- a_not(&match_args, "not", 'n', "Select packages that do not match"),
+ a_flatten(&match_args, "flatten", 'f', "Flatten spec trees, rather than matching against individual items", true),
+ a_enabled_only(&match_args, "enabled-only", 'e', "When searching spec trees, only look in enabled subtrees", true),
+ a_not(&match_args, "not", 'n', "Select packages that do not match", true),
filter_args(this, "Filter options",
"Options that control whether or not a package is considered for matching."),
@@ -65,8 +65,8 @@ CommandLine::CommandLine() :
paludis::args::StringSetArg::StringSetArgOptions(), &paludis::CategoryNamePartValidator::validate),
a_package(&filter_args, "package", '\0', "Matches with this package name only",
paludis::args::StringSetArg::StringSetArgOptions(), &paludis::PackageNamePartValidator::validate),
- a_visible_only(&filter_args, "visible-only", 'v', "Only consider visible packages"),
- a_all_versions(&filter_args, "all-versions", 'a', "Check all versions, rather than only one (slower)"),
+ a_visible_only(&filter_args, "visible-only", 'v', "Only consider visible packages", true),
+ a_all_versions(&filter_args, "all-versions", 'a', "Check all versions, rather than only one (slower)", true),
a_kind(&filter_args, "kind", 'K', "Packages of this kind only",
paludis::args::EnumArg::EnumArgOptions
("installable", "Installable packages")
@@ -77,9 +77,9 @@ CommandLine::CommandLine() :
output_args(this, "Output options",
"Options that control how output is generated."),
- a_compact(&output_args, "compact", '\0', "Display output using one line per entry"),
- a_show_dependencies(&output_args, "show-dependencies", 'D', "Show dependencies"),
- a_show_metadata(&output_args, "show-metadata", 'M', "Show raw metadata"),
+ a_compact(&output_args, "compact", '\0', "Display output using one line per entry", true),
+ a_show_dependencies(&output_args, "show-dependencies", 'D', "Show dependencies", true),
+ a_show_metadata(&output_args, "show-metadata", 'M', "Show raw metadata", true),
deprecated_args(this, "Deprecated options", "Deprecated options."),
a_config_suffix(&deprecated_args, "config-suffix", 'c',
diff --git a/src/clients/inquisitio/man_inquisitio.cc b/src/clients/inquisitio/man_inquisitio.cc
index 5916717c0..061977718 100644
--- a/src/clients/inquisitio/man_inquisitio.cc
+++ b/src/clients/inquisitio/man_inquisitio.cc
@@ -36,7 +36,7 @@ namespace
ManCommandLine() :
group(this, "", ""),
- a_html(&group, "html", '\0', "")
+ a_html(&group, "html", '\0', "", false)
{
}
diff --git a/src/clients/instruo/command_line.cc b/src/clients/instruo/command_line.cc
index b40561d4d..2771b40d9 100644
--- a/src/clients/instruo/command_line.cc
+++ b/src/clients/instruo/command_line.cc
@@ -30,14 +30,14 @@ CommandLine::CommandLine() :
action_args(this, "Actions",
"Selects which basic action to perform. Exactly one action should "
"be specified."),
- a_generate_cache(&action_args, "generate-cache", 'g', "Generate cache"),
- a_version(&action_args, "version", 'V', "Display program version"),
- a_help(&action_args, "help", 'h', "Display program help"),
+ a_generate_cache(&action_args, "generate-cache", 'g', "Generate cache", false),
+ a_version(&action_args, "version", 'V', "Display program version", false),
+ a_help(&action_args, "help", 'h', "Display program help", false),
general_args(this, "General options",
"Options which are relevant for most or all actions."),
a_log_level(&general_args, "log-level", '\0'),
- a_no_colour(&general_args, "no-colour", '\0', "Do not use colour"),
+ a_no_colour(&general_args, "no-colour", '\0', "Do not use colour", false),
a_no_color(&a_no_colour, "no-color"),
a_repository_directory(&general_args, "repository-dir", 'D',
"Where to find the repository (default: current directory)"),
diff --git a/src/clients/instruo/man_instruo.cc b/src/clients/instruo/man_instruo.cc
index cfd089571..0ca7ed9ea 100644
--- a/src/clients/instruo/man_instruo.cc
+++ b/src/clients/instruo/man_instruo.cc
@@ -36,7 +36,7 @@ namespace
ManCommandLine() :
group(this, "", ""),
- a_html(&group, "html", '\0', "")
+ a_html(&group, "html", '\0', "", false)
{
}
diff --git a/src/clients/paludis/command_line.cc b/src/clients/paludis/command_line.cc
index 6da71be37..68dbd7d36 100644
--- a/src/clients/paludis/command_line.cc
+++ b/src/clients/paludis/command_line.cc
@@ -30,61 +30,61 @@ CommandLine::CommandLine() :
action_args(this, "Actions",
"Selects which basic action to perform. Exactly one action should "
"be specified."),
- a_query(&action_args, "query", 'q', "Query for package information"),
- a_install(&action_args, "install", 'i', "Install one or more packages"),
- a_uninstall(&action_args, "uninstall", 'u', "Uninstall one or more packages"),
- a_uninstall_unused(&action_args, "uninstall-unused", '\0', "Uninstall unused packages"),
- a_sync(&action_args, "sync", 's', "Sync all or specified repositories"),
- a_report(&action_args, "report", 'r', "Report the current state of the system"),
- a_contents(&action_args, "contents", 'k', "Display contents of a package"),
- a_owner(&action_args, "owner", 'o', "Display the owner of a file"),
- a_config(&action_args, "config", '\0', "Run post-install configuration for a package"),
- a_version(&action_args, "version", 'V', "Display program version"),
- a_info(&action_args, "info", 'I', "Display program version and system information"),
- a_help(&action_args, "help", 'h', "Display program help"),
+ a_query(&action_args, "query", 'q', "Query for package information", false),
+ a_install(&action_args, "install", 'i', "Install one or more packages", false),
+ a_uninstall(&action_args, "uninstall", 'u', "Uninstall one or more packages", false),
+ a_uninstall_unused(&action_args, "uninstall-unused", '\0', "Uninstall unused packages", false),
+ a_sync(&action_args, "sync", 's', "Sync all or specified repositories", false),
+ a_report(&action_args, "report", 'r', "Report the current state of the system", false),
+ a_contents(&action_args, "contents", 'k', "Display contents of a package", false),
+ a_owner(&action_args, "owner", 'o', "Display the owner of a file", false),
+ a_config(&action_args, "config", '\0', "Run post-install configuration for a package", false),
+ a_version(&action_args, "version", 'V', "Display program version", false),
+ a_info(&action_args, "info", 'I', "Display program version and system information", false),
+ a_help(&action_args, "help", 'h', "Display program help", false),
action_args_internal(this, "More actions",
"Additional actions, mostly for script and internal use."),
- a_has_version(&action_args_internal, "has-version", '\0', "Check whether the specified spec is installed"),
- a_best_version(&action_args_internal, "best-version", '\0', "Display the best version of the specified spec"),
- a_match(&action_args_internal, "match", '\0', "Display all installed packages matching the supplied argument"),
+ a_has_version(&action_args_internal, "has-version", '\0', "Check whether the specified spec is installed", false),
+ a_best_version(&action_args_internal, "best-version", '\0', "Display the best version of the specified spec", false),
+ a_match(&action_args_internal, "match", '\0', "Display all installed packages matching the supplied argument", false),
a_environment_variable(&action_args_internal, "environment-variable", '\0', "Display the value of an environment "
- "variable for a particular package"),
+ "variable for a particular package", false),
a_configuration_variable(&action_args_internal, "configuration-variable", '\0', "Display the value of a "
- "configuration variable for a particular repository"),
- 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_sets(&action_args_internal, "list-sets", '\0', "List available package sets"),
- a_list_sync_protocols(&action_args_internal, "list-sync-protocols", '\0', "List available sync protocols"),
+ "configuration variable for a particular repository", false),
+ a_list_repositories(&action_args_internal, "list-repositories", '\0', "List available repositories", false),
+ a_list_categories(&action_args_internal, "list-categories", '\0', "List available categories", false),
+ a_list_packages(&action_args_internal, "list-packages", '\0', "List available packages", false),
+ a_list_sets(&action_args_internal, "list-sets", '\0', "List available package sets", false),
+ a_list_sync_protocols(&action_args_internal, "list-sync-protocols", '\0', "List available sync protocols", false),
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"),
+ "List available repository formats", false),
+ a_list_dep_tag_categories(&action_args_internal, "list-dep-tag-categories", '\0', "List known dep tag categories", false),
a_regenerate_installed_cache(&action_args_internal, "regenerate-installed-cache", '\0',
- "Regenerate (non-metadata) cache for installed repositories"),
+ "Regenerate (non-metadata) cache for installed repositories", false),
a_regenerate_installable_cache(&action_args_internal, "regenerate-installable-cache", '\0',
- "Regenerate (non-metadata) cache for installable repositories"),
+ "Regenerate (non-metadata) cache for installable repositories", false),
general_args(this, "General options",
"Options which are relevant for most or all actions."),
a_log_level(&general_args, "log-level", '\0'),
- a_no_colour(&general_args, "no-colour", '\0', "Do not use colour"),
+ a_no_colour(&general_args, "no-colour", '\0', "Do not use colour", false),
a_no_color(&a_no_colour, "no-color"),
a_environment(&general_args, "environment", 'E', "Environment specification (class:suffix, both parts optional)"),
a_resume_command_template(&general_args, "resume-command-template", '\0',
"Save the resume command to a file. If the filename contains 'XXXXXX', use mkstemp(3) to generate the filename"),
#ifdef PALUDIS_ENABLE_THREADS
- a_multitask(&general_args, "multitask", '\0', "Perform tasks in parallel, where supported (currently --sync only)"),
+ a_multitask(&general_args, "multitask", '\0', "Perform tasks in parallel, where supported (currently --sync only)", true),
#else
a_multitask(&general_args, "multitask", '\0', "Does nothing. (For compatibility with Paludis when built with thread "
- "support, which you shouldn't be using yet.)"),
+ "support, which you shouldn't be using yet.)", true),
#endif
- a_compact(&general_args, "compact", '\0', "Display output using one line per entry (--install, --query)"),
+ a_compact(&general_args, "compact", '\0', "Display output using one line per entry (--install, --query)", true),
query_args(this, "Query options",
"Options which are relevant for --query."),
- a_show_deps(&query_args, "show-deps", 'D', "Show dependencies"),
- a_show_metadata(&query_args, "show-metadata", 'M', "Show raw metadata"),
+ a_show_deps(&query_args, "show-deps", 'D', "Show dependencies", true),
+ a_show_metadata(&query_args, "show-metadata", 'M', "Show raw metadata", true),
install_args(this, "Install, Uninstall options",
"Options which are relevant for --install, --uninstall or --uninstall-unused."),
@@ -92,13 +92,13 @@ CommandLine::CommandLine() :
uninstall_args(this, "Uninstall options",
"Options which are relevant for --uninstall."),
a_with_unused_dependencies(&uninstall_args, "with-unused-dependencies", '\0',
- "Also uninstall any dependencies of the target that are no longer used"),
+ "Also uninstall any dependencies of the target that are no longer used", true),
a_with_dependencies(&uninstall_args, "with-dependencies", '\0',
- "Also uninstall packages that depend upon the target"),
+ "Also uninstall packages that depend upon the target", true),
a_all_versions(&uninstall_args, "all-versions", '\0',
- "Uninstall all versions of a package"),
+ "Uninstall all versions of a package", true),
a_permit_unsafe_uninstalls(&uninstall_args, "permit-unsafe-uninstalls", '\0',
- "Allow depended-upon packages to uninstalled"),
+ "Allow depended-upon packages to uninstalled", true),
dl_args(this),
@@ -116,25 +116,25 @@ CommandLine::CommandLine() :
owner_args(this, "Owner options",
"Options relevant for the --owner actions."),
- a_full_match(&owner_args, "full-match", '\0', "Match whole filename"),
+ a_full_match(&owner_args, "full-match", '\0', "Match whole filename", true),
deprecated_args(this, "Deprecated options", "Deprecated options."),
a_dl_no_unnecessary_upgrades(&deprecated_args, "dl-no-unnecessary-upgrades", 'U',
- "Replaced by --dl-upgrade as-needed"),
+ "Replaced by --dl-upgrade as-needed", false),
a_dl_drop_all(&deprecated_args, "dl-drop-all", '0',
- "Replaced by --dl-deps-default discard"),
+ "Replaced by --dl-deps-default discard", false),
a_dl_ignore_installed(&deprecated_args, "dl-ignore-installed", 'e',
- "Replaced by --dl-reinstall always"),
+ "Replaced by --dl-reinstall always", false),
a_show_install_reasons(&deprecated_args, "show-install-reasons",
- '\0', "Replaced by --show-reasons"),
+ '\0', "Replaced by --show-reasons", false),
a_add_to_world_atom(&deprecated_args, "add-to-world-atom", '\0',
- "Replaced by --add-to-world-spec"),
+ "Replaced by --add-to-world-spec", false),
a_config_suffix(&deprecated_args, "config-suffix", 'c',
- "Replaced by --environment"),
+ "Replaced by --environment", false),
a_update_news(&deprecated_args, "update-news", '\0',
- "No longer useful, does nothing"),
+ "No longer useful, does nothing", false),
a_safe_resume(&deprecated_args, "safe-resume", '\0',
- "Now default behaviour, use --no-safe-resume to disable")
+ "Now default behaviour, use --no-safe-resume to disable", false)
{
add_usage_line("--query [query options] target ...");
add_usage_line("--install [install options] target ...");
diff --git a/src/clients/paludis/man_paludis.cc b/src/clients/paludis/man_paludis.cc
index 43fa418f7..534c19b78 100644
--- a/src/clients/paludis/man_paludis.cc
+++ b/src/clients/paludis/man_paludis.cc
@@ -36,7 +36,7 @@ namespace
ManCommandLine() :
group(this, "", ""),
- a_html(&group, "html", '\0', "")
+ a_html(&group, "html", '\0', "", false)
{
}
diff --git a/src/clients/qualudis/man_qualudis.cc b/src/clients/qualudis/man_qualudis.cc
index 4ca41b12a..a10ec9baf 100644
--- a/src/clients/qualudis/man_qualudis.cc
+++ b/src/clients/qualudis/man_qualudis.cc
@@ -36,7 +36,7 @@ namespace
ManCommandLine() :
group(this, "", ""),
- a_html(&group, "html", '\0', "")
+ a_html(&group, "html", '\0', "", false)
{
}
diff --git a/src/clients/qualudis/qualudis_command_line.cc b/src/clients/qualudis/qualudis_command_line.cc
index 0307fb25f..c75bc16f2 100644
--- a/src/clients/qualudis/qualudis_command_line.cc
+++ b/src/clients/qualudis/qualudis_command_line.cc
@@ -30,8 +30,8 @@ QualudisCommandLine::QualudisCommandLine() :
"be specified. If no action is specified, the directories specifed "
"on the command line (or, if none, the current directory) are "
"checked."),
- a_version(&action_args, "version", 'V', "Display program version"),
- a_help(&action_args, "help", 'h', "Display program help"),
+ a_version(&action_args, "version", 'V', "Display program version", false),
+ a_help(&action_args, "help", 'h', "Display program help", false),
check_options(this, "Options for general checks",
"Options relevant for the --owner actions."),
@@ -55,7 +55,7 @@ QualudisCommandLine::QualudisCommandLine() :
a_master_repository_dir(&configuration_options, "master-repository-dir", '\0',
"Use the specified location for the master repository"),
a_use_repository_cache(&configuration_options, "use-repository-cache", '\0',
- "Use the repository's metadata cache, if available (faster, but may miss certain errors)")
+ "Use the repository's metadata cache, if available (faster, but may miss certain errors)", true)
{
add_usage_line("[ options ] [ directories ... ]");
add_environment_variable("QUALUDIS_OPTIONS", "Default command-line options.");
diff --git a/src/clients/reconcilio/command_line.cc b/src/clients/reconcilio/command_line.cc
index 748b27d77..93d380f5b 100644
--- a/src/clients/reconcilio/command_line.cc
+++ b/src/clients/reconcilio/command_line.cc
@@ -31,21 +31,21 @@ CommandLine::CommandLine() :
action_args(this, "Actions",
"Selects which basic action to perform. At most one action should "
"be specified."),
- a_fix_linkage(&action_args, "fix-linkage", '\0', "Search for and rebuild packages linked against non-existant libraries (default)"),
- a_version(&action_args, "version", 'V', "Display program version"),
- a_help(&action_args, "help", 'h', "Display program help"),
+ a_fix_linkage(&action_args, "fix-linkage", '\0', "Search for and rebuild packages linked against non-existant libraries (default)", false),
+ a_version(&action_args, "version", 'V', "Display program version", false),
+ a_help(&action_args, "help", 'h', "Display program help", false),
general_args(this, "General options",
"Options which are relevant for most or all actions."),
a_log_level(&general_args, "log-level", '\0'),
- a_no_colour(&general_args, "no-colour", '\0', "Do not use colour"),
+ a_no_colour(&general_args, "no-colour", '\0', "Do not use colour", false),
a_no_color(&a_no_colour, "no-color"),
a_environment(&general_args, "environment", 'E', "Environment specification (class:suffix, both parts optional)"),
- a_exact(&general_args, "exact", '\0', "Rebuild the same package version that is currently installed"),
- a_verbose(&general_args, "verbose", 'v', "Display more detailed output"),
+ a_exact(&general_args, "exact", '\0', "Rebuild the same package version that is currently installed", true),
+ a_verbose(&general_args, "verbose", 'v', "Display more detailed output", true),
a_resume_command_template(&general_args, "resume-command-template", '\0',
"Save the resume command to a file. If the filename contains 'XXXXXX', use mkstemp(3) to generate the filename"),
- a_compact(&general_args, "compact", '\0', "Display output using one line per entry"),
+ a_compact(&general_args, "compact", '\0', "Display output using one line per entry", true),
fix_linkage_args(this, "Fix Linkage options",
"Options which are relevant for --fix-linkage."),
diff --git a/src/clients/reconcilio/man_reconcilio.cc b/src/clients/reconcilio/man_reconcilio.cc
index 5916717c0..061977718 100644
--- a/src/clients/reconcilio/man_reconcilio.cc
+++ b/src/clients/reconcilio/man_reconcilio.cc
@@ -36,7 +36,7 @@ namespace
ManCommandLine() :
group(this, "", ""),
- a_html(&group, "html", '\0', "")
+ a_html(&group, "html", '\0', "", false)
{
}