def _create_opt_parser(self): option_parser = ReportScript._create_opt_parser(self) option_parser.add_option('--urlminversion', type='int', help='minimum version [%default]') return option_parser
def _create_opt_parser(self): option_parser = ReportScript._create_opt_parser(self) option_parser.add_option("--agreement", type="float", help="minimum acceptable agreement [%default]") option_parser.add_option( "--problemsonly", action="store_true", help="restrict listing to troubled archival units [%default]" ) option_parser.add_option( "--replserver", dest="replserver", type="int", help="mark as error archival units those with less replications on given servers [%default]", ) option_parser.add_option( "--repl", type="int", help="mark as error archival units those with less total known replications [%default]", ) return option_parser