def _create_opt_parser(self): option_parser = LockssScript._create_parser(self, False, True) option_parser.add_option('-S', '--serverlist', action='append', help='server with port ') option_parser.add_option('-o', '--outputdir', dest= 'dir', help="Directory for output files [defaults to server's domain name]") option_parser.add_option('--noquit', action='store_true', help = "repeat status data requests for failed auids until all succeed" ) return option_parser
def _create_opt_parser(self): option_parser = LockssScript._create_parser(self, au_params=False, mayHaveServer=False, credentials=False) option_parser.add_option('-N', '--Network', dest="network", help="print cache from give network only") option_parser.add_option('-n', '--nickname', action='store_true', help="print cache's nickname [%default]") option_parser.add_option('-D', '--dnsname', action='store_true', help="print cache's dnsname [%default]") option_parser.add_option('--nwname', action='store_true', help="print cache's network name [%default]") option_parser.add_option('-u', '--url', action='store_true', help="print cache's login url [%default]") return option_parser
def _create_opt_parser(self): option_parser = LockssScript._create_parser(self, au_params=True, mayHaveServer=True, credentials=True) option_parser.add_option('-m', '--max', type='int', help='maximum crawls that will be started') return option_parser