예제 #1
0
파일: script.py 프로젝트: 00liujj/petsc
  def setupHelp(self, help):
    '''This method should be overidden to provide help for arguments'''
    import nargs

    help.addArgument('Script', '-help', nargs.ArgBool(None, 0, 'Print this help message', isTemporary = 1), ignoreDuplicates = 1)
    help.addArgument('Script', '-h',    nargs.ArgBool(None, 0, 'Print this help message', isTemporary = 1), ignoreDuplicates = 1)
    return help
예제 #2
0
  def setupHelp(self, help):
    '''This method should be overidden to provide help for arguments'''
    import nargs

    help.addArgument('Script', '-help', nargs.ArgBool(None, 0, 'Print this help message', isTemporary = 1), ignoreDuplicates = 1)
    help.addArgument('Script', '-h',    nargs.ArgBool(None, 0, 'Print this help message', isTemporary = 1), ignoreDuplicates = 1)
    return help
예제 #3
0
파일: script.py 프로젝트: staminazhu/petsc
    def setupHelp(self, help):
        '''This method should be overidden to provide help for arguments'''
        import nargs

        help.addArgument('Script',
                         '-h',
                         nargs.ArgBool(None,
                                       0,
                                       'Print this help message',
                                       isTemporary=1),
                         ignoreDuplicates=1)
        help.addArgument('Script',
                         '-help',
                         nargs.ArgBool(None,
                                       0,
                                       'Print this help message',
                                       isTemporary=1),
                         ignoreDuplicates=1)
        help.addArgument(
            'Script',
            '-with-packages-download-dir=<dir>',
            nargs.ArgDir(
                None,
                None,
                'Skip network download of package tarballs and locate them in specified dir. If not found in dir, print package URL - so it can be obtained manually.',
                isTemporary=1),
            ignoreDuplicates=1)
        return help
예제 #4
0
    def setupHelp(self, help):
        '''This method should be overidden to provide help for arguments'''
        import nargs

        help.addArgument('Script',
                         '-help',
                         nargs.ArgBool(None,
                                       0,
                                       'Print this help message',
                                       isTemporary=1),
                         ignoreDuplicates=1)
        help.addArgument(
            'Script',
            '-with-packages-dir',
            nargs.ArgDir(
                None,
                None,
                'Directory to store downloaded external package tarballs',
                isTemporary=1),
            ignoreDuplicates=1)
        help.addArgument('Script',
                         '-h',
                         nargs.ArgBool(None,
                                       0,
                                       'Print this help message',
                                       isTemporary=1),
                         ignoreDuplicates=1)
        return help
예제 #5
0
파일: script.py 프로젝트: plguhur/petsc
  def setupHelp(self, help):
    '''This method should be overidden to provide help for arguments'''
    import nargs

    help.addArgument('Script', '-help', nargs.ArgBool(None, 0, 'Print this help message', isTemporary = 1), ignoreDuplicates = 1)
    help.addArgument('Script', '-with-packages-dir', nargs.ArgDir(None,None, 'Directory to store downloaded external package tarballs', isTemporary = 1), ignoreDuplicates = 1)
    help.addArgument('Script', '-h',    nargs.ArgBool(None, 0, 'Print this help message', isTemporary = 1), ignoreDuplicates = 1)
    return help
예제 #6
0
  def setupHelp(self, help):
    '''This method should be overidden to provide help for arguments'''
    import nargs

    help.addArgument('Script', '-h',    nargs.ArgBool(None, 0, 'Print this help message', isTemporary = 1), ignoreDuplicates = 1)
    help.addArgument('Script', '-help', nargs.ArgBool(None, 0, 'Print this help message', isTemporary = 1), ignoreDuplicates = 1)
    help.addArgument('Script', '-with-packages-download-dir=<dir>', nargs.ArgDir(None,None, 'Skip network download of package tarballs and locate them in specified dir. If not found in dir, print package URL - so it can be obtained manually.', isTemporary = 1), ignoreDuplicates = 1)
    return help