aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-24 16:36:57 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-24 16:36:57 +0000
commit8279d0854fa1416d25edc111a06951daca94f659 (patch)
tree3ae4edf66019633303dcae6a8d2034a384ed5336
parentf338ac00f3388631aa65b721eb51104818a63ef4 (diff)
downloadpaludis-8279d0854fa1416d25edc111a06951daca94f659.tar.gz
paludis-8279d0854fa1416d25edc111a06951daca94f659.tar.xz
Clean up adjutrix short options
-rw-r--r--bash-completion/adjutrix4
-rw-r--r--src/clients/adjutrix/command_line.cc6
-rw-r--r--zsh-completion/_adjutrix4
3 files changed, 7 insertions, 7 deletions
diff --git a/bash-completion/adjutrix b/bash-completion/adjutrix
index 5e0822e..8f83a0a 100644
--- a/bash-completion/adjutrix
+++ b/bash-completion/adjutrix
@@ -49,8 +49,8 @@ _adjutrix() {
--repository-dir -D \
--category -C \
--package -P \
- --profile -p \
- --unstable -U \
+ --profile \
+ --unstable \
--write-cache-dir"
case "${cur}" in
diff --git a/src/clients/adjutrix/command_line.cc b/src/clients/adjutrix/command_line.cc
index dc17118..abe52c8 100644
--- a/src/clients/adjutrix/command_line.cc
+++ b/src/clients/adjutrix/command_line.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2006 Ciaran McCreesh <ciaranm@ciaranm.org>
+ * Copyright (c) 2006, 2007 Ciaran McCreesh <ciaranm@ciaranm.org>
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -78,9 +78,9 @@ CommandLine::CommandLine() :
profile_args(this, "Profile action options",
"Options which are relevant for profile actions."),
- a_profile(&profile_args, "profile", 'p',
+ 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", 'U',
+ a_unstable(&profile_args, "unstable", '\0',
"Accept ~arch as well as arch"),
configuration_options(this, "Configuration options",
diff --git a/zsh-completion/_adjutrix b/zsh-completion/_adjutrix
index a2bcbcd..0c9c08c 100644
--- a/zsh-completion/_adjutrix
+++ b/zsh-completion/_adjutrix
@@ -23,8 +23,8 @@ _adjutrix() {
'(--package -P)'{--package,-P}'[Matches with this package name only (may be specified multiple times)]:Packages:'
)
profile_options=(
- '(--profile -p)'{--profile,-p}'[Display results for this profile path, rather than all profiles (may be specified multiple times)]:Profile:_files -/'
- '(--unstable -U)'{--unstable,-U}'[Accept ~arch as well as arch]'
+ '--profile[Display results for this profile path, rather than all profiles (may be specified multiple times)]:Profile:_files -/'
+ '--unstable[Accept ~arch as well as arch]'
)
general_options=(
'--log-level[Specify the log level]:log level:((debug\:Show\ debug\ output qa\:Show\ QA\ messages\ and\ warnings\ only warning\:Show\ warnings\ only silent\:Suppress\ all\ log\ messages))'