summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-10-12 19:32:05 +0200
committerAllan McRae <allan@archlinux.org>2013-10-14 05:01:15 +0200
commit122e16106fdcc30918e53832edd9c70fe3772054 (patch)
tree62228df92bdb2047915c6bccb1b8a5f081141db7 /src/pacman/conf.h
parent0fc9545546cd6cff95ef32e043efbcbbf89ca89b (diff)
downloadpacman-122e16106fdcc30918e53832edd9c70fe3772054.tar.gz
pacman-122e16106fdcc30918e53832edd9c70fe3772054.tar.xz
use non-ascii identifiers for optflags
Removes the overlap between optflags for different operations that allowed non-sensical combinations of flags such as: $ pacman -Si --changelog $package --changelog is -c, meaning --clean for -S $ pacman -Q --sysupgrade --sysupgrade is -u, meaning --upgrades for -Q Also add a few missing braces. Original-work-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h31
1 files changed, 30 insertions, 1 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index dcd32040..e263d7c6 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -146,7 +146,36 @@ enum {
OP_GPGDIR,
OP_DBONLY,
OP_FORCE,
- OP_COLOR
+ OP_COLOR,
+ OP_DBPATH,
+ OP_CASCADE,
+ OP_CHANGELOG,
+ OP_CLEAN,
+ OP_NODEPS,
+ OP_DEPS,
+ OP_EXPLICIT,
+ OP_GROUPS,
+ OP_HELP,
+ OP_INFO,
+ OP_CHECK,
+ OP_LIST,
+ OP_FOREIGN,
+ OP_NATIVE,
+ OP_NOSAVE,
+ OP_OWNS,
+ OP_FILE,
+ OP_PRINT,
+ OP_QUIET,
+ OP_ROOT,
+ OP_RECURSIVE,
+ OP_SEARCH,
+ OP_UNREQUIRED,
+ OP_UPGRADES,
+ OP_SYSUPGRADE,
+ OP_UNNEEDED,
+ OP_VERBOSE,
+ OP_DOWNLOADONLY,
+ OP_REFRESH
};
/* clean method */