Modify ↓
Ticket #1054 (closed defect: worksforme)
Man page for remove configuration elements (-r) option incorrect
Reported by: | https://www.google.com/accounts/o8/id?id=AItOawlIm5EgGLqOqGEr7NnQwG0NBPWGKgiWMEo | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | Cc: |
Description
The man page for bcfg2 states the following:
Cause bcfg2 to remove extra configuration elements it detects. Mode is one of all, Services, or Packages. All removes all entries. Likewise, Services and Packages remove only the extra configuration elements of the respective type.
This indicates that the Services and Packages command line params should be capitalized, however bcfg2 does not recognize these options:
Got unknown argument Packages for -r
The man page should be fixed to indicate that Services and Packages are lowercase.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
This is working for me in rc1. The relevant code is at https://github.com/solj/bcfg2/blob/master/src/sbin/bcfg2#L113-118.