MCPcopy Create free account
hub / github.com/pyload/pyload / print_help

Function print_help

pyLoadCli.py:393–413  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

391
392
393def print_help(config):
394 print
395 print "pyLoadCli Copyright (c) 2008-2011 the pyLoad Team"
396 print
397 print "Usage: [python] pyLoadCli.py [options] [command]"
398 print
399 print "<Commands>"
400 print "See pyLoadCli.py -c for a complete listing."
401 print
402 print "<Options>"
403 print " -i, --interactive", " Start in interactive mode"
404 print
405 print " -u, --username=", " " * 2, "Specify Username"
406 print " --pw=<password>", " " * 2, "Password"
407 print " -a, --address=", " " * 3, "Specify address (current=%s)" % config["addr"]
408 print " -p, --port", " " * 7, "Specify port (current=%s)" % config["port"]
409 print
410 print " -l, --language", " " * 3, "Set user interface language (current=%s)" % config["language"]
411 print " -h, --help", " " * 7, "Display this help screen"
412 print " -c, --commands", " " * 3, "List all available commands"
413 print
414
415
416def print_packages(data):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected