Modify

Ticket #930 (closed enhancement: duplicate)

Opened 12 years ago

Last modified 11 years ago

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

comment:1 Changed 12 years ago by m4z <[email protected]…>

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.

comment:2 Changed 11 years ago by solj

  • Status changed from new to closed
  • Resolution set to duplicate

We'll address this in #952.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.