cat-in-136 / cargo-generate-rpm

Cargo helper command to generate a binary RPM package
MIT License
87 stars 19 forks source link

Out of date documentation on --auto-req options in readme #101

Closed Will-Shanks closed 8 months ago

Will-Shanks commented 8 months ago

The readme suggests passing --auto-req no to disable the automatic dependency processing, however that doesn't work since "no" isn't an option in the AutoReqMode enum

> cargo generate-rpm --auto-req no
error: invalid value 'no' for '--auto-req <AUTO_REQ>'
  [possible values: disabled, builtin, find-requires, /path/to/find-requires]

For more information, try '--help'.

Happy to submit a PR updating the docs s/no/disabled/ but adding an alias of no is also an option.

cat-in-136 commented 8 months ago

Thank you for reporting, @Will-Shanks . It is a degrade of #82 rather than out-of document. I prefer to add an alias.

You can submit a PR to add the alias.