Exemple #1
0
def main(argv):
    if len(argv) < 2: raise ValueError("Wrong number of arguments: "+usage)
    program = argv[1:]
    print help2rst(check_output(program, stderr=STDOUT))
def main(argv):
    if len(argv) < 2: raise ValueError("Wrong number of arguments: " + usage)
    program = argv[1:]
    print(help2txt(check_output(program)))
Exemple #3
0
def main(argv):
    if len(argv) < 2:
        raise ValueError("Wrong number of arguments\nUsage %s"
                         " <program> [args,...]" % argv[0])
    program = argv[1:]
    print(help2txt(check_output(program)))
Exemple #4
0
def main(argv):
    if len(argv) < 2:
        raise ValueError("Wrong number of arguments: " + usage)
    program = argv[1:]
    print(help2txt(check_output(program)))