Modify ↓
Ticket #930 (closed enhancement: duplicate)
bcfg2-build-reports: Inconsistencies in documentation
Reported by: | m4z <[email protected]…> | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-reports | Version: | 1.0 |
Keywords: | Cc: |
Description
Code snippet (which doesn't follow PEP8, btw; ugly linebreaks added by me):
163 except getopt.GetoptError, mesg: 164 # print help information and exit: 165 print "%s\nUsage:\nbcfg2-build-reports [-h] [-A (include ALL clients)] [-c <configuration-file>] [-s <statistics-file>] [-N (do not ping clients)]" % (mesg) 166 raise SystemExit, 2 167 for o, a in opts: 168 if o in ("-h", "--help"): 169 print "Usage:\nbcfg2-build-reports [-h] [-c <configuration-file>] [-s <statistics-file>]" 170 raise SystemExit
The manual page also documents only part of the options.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
Please see also #952, item nr. 11:
r6090 documents the -N switch (thank you!), but it is not yet clear to somebody who has not read the code what the tool actually tries to do. I would especially not expect it to attempt to ping machines.