summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/libarchive-compat.h
diff options
context:
space:
mode:
authorPierre Neidhardt <ambrevar@gmail.com>2014-02-14 13:18:55 +0100
committerAllan McRae <allan@archlinux.org>2014-03-03 02:25:55 +0100
commitcfde337b7b5f4a7f56ff0a4e6142804f6e638f69 (patch)
tree09369a73498e145c3daaee6a8b7275570ca8cc84 /lib/libalpm/libarchive-compat.h
parentcfaff6e0c14d29f07246386695bce0188ce6f44b (diff)
downloadpacman-cfde337b7b5f4a7f56ff0a4e6142804f6e638f69.tar.gz
pacman-cfde337b7b5f4a7f56ff0a4e6142804f6e638f69.tar.xz
pacsearch: pattern arguments work as for pacman
Previously only one pattern was allowed. $ pacsearch foo bar Search for packages containing 'foo bar'. $ pacman -Ss foo bar Search for packages containing both 'foo' and 'bar'. Note that removing the quotes from the call was not enough since $ pacsearch 'foo|bar' would then fail. Note the use of '--' to indicate the end of option parsing. This way we ensure that input will always be valid and we need not input checks anymore. Signed-off-by: Pierre Neidhardt <ambrevar@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/libarchive-compat.h')
0 files changed, 0 insertions, 0 deletions