Open rustysys-dev opened 11 months ago
I see what the issue is now... the user experience for this is... maybe a bit difficult...
The reason for this is due to how the help documentation is displayed. Since every option is displayed right away we can't see the context for which an option is valid.
does it make sense to use..
yay -Q --info yay
yes, but does it make sense to use
yay -Q --cleanafter yay
not so much... and yet, auto complete allows this, and so does it show options at the top level as well. So much so that it make s the following appear to be valid for a usecase but will not work as the user might expect
yay --info yay
It might be good to organise the the command structure documentation a bit better, or to start making alias of certain parts that are more confusing... that being said now that I better understand the scope of this issue It would be better to close this and open a new one as a feature request (also taking into account that this new understanding might be already documented as an enhancement in another issue... I will need to look)
Affected Version
I also upgraded my version from whatever it was before it was affected on that version too (didn't look)
Describe the bug
On Manjaro Linux (sway),
yay --info <package>
tries to install or reinstall the packageReproduction Steps
Expected behavior
Querying info gives me info about the package, not attempts to install it.
Output