summaryrefslogtreecommitdiff
path: root/test/pacman/tests/database010.py
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 11:25:55 +1000
commitcfde337b7b5f4a7f56ff0a4e6142804f6e638f69 (patch)
tree09369a73498e145c3daaee6a8b7275570ca8cc84 /test/pacman/tests/database010.py
parentcfaff6e0c14d29f07246386695bce0188ce6f44b (diff)
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 'test/pacman/tests/database010.py')
0 files changed, 0 insertions, 0 deletions