aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-23 09:18:53 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-23 09:18:53 +0100
commitba41e2953d25dc8f9db41555cea2fbb68774613c (patch)
tree61be216d3134e8ab4291566e8486bd9f2e49ed2f
parent4a539afd045ae0ddc36f4c28601bd94f0d66e57c (diff)
downloadpaludis-ba41e2953d25dc8f9db41555cea2fbb68774613c.tar.gz
paludis-ba41e2953d25dc8f9db41555cea2fbb68774613c.tar.xz
Consistently use -a/b for --all/best
-rw-r--r--src/clients/cave/cmd_print_id_environment_variable.cc2
-rw-r--r--src/clients/cave/cmd_print_id_masks.cc2
-rw-r--r--src/clients/cave/cmd_print_id_metadata.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/cave/cmd_print_id_environment_variable.cc b/src/clients/cave/cmd_print_id_environment_variable.cc
index 6dc82b7..63e6ea7 100644
--- a/src/clients/cave/cmd_print_id_environment_variable.cc
+++ b/src/clients/cave/cmd_print_id_environment_variable.cc
@@ -75,7 +75,7 @@ namespace
PrintIDEnvironmentVariableCommandLine() :
g_spec_options(main_options_section(), "Spec Options", "Alter how the supplied spec is used."),
a_all(&g_spec_options, "all", 'a', "If the spec matches multiple IDs, display all matches.", true),
- a_best(&g_spec_options, "best", '\0', "If the spec matches multiple IDs, select the best ID rather than giving an error.", true),
+ a_best(&g_spec_options, "best", 'b', "If the spec matches multiple IDs, select the best ID rather than giving an error.", true),
g_filters(main_options_section(), "Filters", "Filter the output. Each filter may be specified more than once."),
a_variable_name(&g_filters, "variable-name", '\0', "Show this environment variable. If specified more than once, "
"any name match is accepted. Must be specified at least once."),
diff --git a/src/clients/cave/cmd_print_id_masks.cc b/src/clients/cave/cmd_print_id_masks.cc
index b98e09f..2d75576 100644
--- a/src/clients/cave/cmd_print_id_masks.cc
+++ b/src/clients/cave/cmd_print_id_masks.cc
@@ -84,7 +84,7 @@ namespace
PrintIDMasksCommandLine() :
g_spec_options(main_options_section(), "Spec Options", "Alter how the supplied spec is used."),
a_all(&g_spec_options, "all", 'a', "If the spec matches multiple IDs, display all matches.", true),
- a_best(&g_spec_options, "best", '\0', "If the spec matches multiple IDs, select the best ID rather than giving an error.", true),
+ a_best(&g_spec_options, "best", 'b', "If the spec matches multiple IDs, select the best ID rather than giving an error.", true),
g_filters(main_options_section(), "Filters", "Filter the output."),
a_overridden(&g_filters, "overridden", '\0', "Show overridden masks", true),
a_no_active(&g_filters, "no-active", '\0', "No not show active (non-overridden) masks", true),
diff --git a/src/clients/cave/cmd_print_id_metadata.cc b/src/clients/cave/cmd_print_id_metadata.cc
index 6861f22..2ce293d 100644
--- a/src/clients/cave/cmd_print_id_metadata.cc
+++ b/src/clients/cave/cmd_print_id_metadata.cc
@@ -79,7 +79,7 @@ namespace
PrintIDMetadataCommandLine() :
g_spec_options(main_options_section(), "Spec Options", "Alter how the supplied spec is used."),
a_all(&g_spec_options, "all", 'a', "If the spec matches multiple IDs, display all matches.", true),
- a_best(&g_spec_options, "best", '\0', "If the spec matches multiple IDs, select the best ID rather than giving an error.", true),
+ a_best(&g_spec_options, "best", 'b', "If the spec matches multiple IDs, select the best ID rather than giving an error.", true),
g_filters(main_options_section(), "Filters", "Filter the output. Each filter may be specified more than once."),
a_raw_name(&g_filters, "raw-name", '\0', "Show only keys with this raw name. If specified more than once, "
"any name match is accepted."),