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

Fix docs for commands accepting specs #1602

Closed
kontura opened this issue Jul 31, 2024 · 1 comment
Closed

Fix docs for commands accepting specs #1602

kontura opened this issue Jul 31, 2024 · 1 comment
Assignees
Labels
Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take

Comments

@kontura
Copy link
Contributor

kontura commented Jul 31, 2024

install, upgrade and remove commands are documented to accept only packages (<package-spec>) but they work also with comps.

@kontura kontura changed the title Fix doc for commands accepting specs Fix docs for commands accepting specs Jul 31, 2024
@ppisar ppisar added Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take labels Jul 31, 2024
@ppisar ppisar added this to DNF team Jul 31, 2024
@github-project-automation github-project-automation bot moved this to Backlog in DNF team Jul 31, 2024
@ppisar
Copy link
Contributor

ppisar commented Jul 31, 2024

It's not only documentation. "dnf install --help" also reads:

Arguments:                                     
  specs                                        List of package specs to install

I think package-spec identifier should be kept reserved for packages and would should change documentation to package-spec|group-spec where appropriate. Otherwise, the grammar would accept @group > 2 which is obviously unwanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
Archived in project
Development

No branches or pull requests

2 participants