Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching doesn't handle spaces like Pacman would #599

Closed
Sirmentio opened this issue May 19, 2020 · 3 comments
Closed

Searching doesn't handle spaces like Pacman would #599

Sirmentio opened this issue May 19, 2020 · 3 comments
Labels

Comments

@Sirmentio
Copy link

Hello, I've noticed a discrepency between Aura and Pacman that's somewhat handicapped my usage if I search packages with it.
For example (This is just an example, I could easily just search hedgewars), if I did pacman -Ss hedge wars:

community/hedgewars 1.0.0-62 [installed]
Turn-based strategy artillery game similiar to Worms

This would be my output, simple enough. However, if I use something such as Aura, like, aura -Ss hedge wars:

Invalid argument `wars'

Usage: aura ((-A|--aursync) PACKAGES | (-B|--save) | (-C|--downgrade) PACKAGES |
(-L|--viewlog) | (-O|--orphans) | (-V|--version) | --languages |
--viewconf | ((-D|--database) PACKAGES | (-F|--files) | (-Q|--query)
[PACKAGES] | (-R|--remove) PACKAGES | (-S|--sync) [PACKAGES] |
(-T|--deptest) PACKAGES | (-U|--upgrade) PACKAGES))

I think it would be more beneficial if it worked more like Pacman, in that it could accept input such as that, in order to search through something like descriptions so one could say "turn based" instead of turn-based without having to use the exact wording for searching.

@fosskers
Copy link
Owner

Ah ha, I'd call this a bug. Should be an easy fix, which I'm going to take care of tomorrow.

@fosskers fosskers added the bug label May 19, 2020
@fosskers
Copy link
Owner

fosskers commented May 19, 2020

That's strange, my error is different:

colin@yumi ~> aura -Ss hedge wars
Missing:

Usage: aura ((-A|--aursync) PACKAGES | (-B|--save) | (-C|--downgrade) PACKAGES |
              (-L|--viewlog) | (-O|--orphans) | (-V|--version) | --languages | 
              --viewconf | 
              ((-D|--database) PACKAGES | (-F|--files) | (-Q|--query) 
                [[PACKAGES]] |
                (-R|--remove) PACKAGES | (-S|--sync) [PACKAGES] | (-T|--deptest)
                PACKAGES |
                (-U|--upgrade) PACKAGES)) [--log-level debug|info|warn|error]

Either way, the point is made. Let's get this fixed.

@fosskers
Copy link
Owner

Fixed! This will be included in Aura's upcoming release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants