diff options
author | Pierre Neidhardt <ambrevar@gmail.com> | 2014-02-14 13:18:55 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-03-03 02:25:55 +0100 |
commit | cfde337b7b5f4a7f56ff0a4e6142804f6e638f69 (patch) | |
tree | 09369a73498e145c3daaee6a8b7275570ca8cc84 /etc | |
parent | cfaff6e0c14d29f07246386695bce0188ce6f44b (diff) | |
download | pacman-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 'etc')
0 files changed, 0 insertions, 0 deletions