|
26 | 26 | parser = optparse.OptionParser("%prog [options] [commands]", |
27 | 27 | description="Communicate with Mesa ethernet cards using the LBP16 protocol") |
28 | 28 | parser.add_option("-i", "--ip", dest="sip", |
29 | | - help="IP address of board", |
| 29 | + help="IP address of board (default: 192.168.1.121)", |
30 | 30 | metavar="X.Y.Z.W", default="192.168.1.121") |
31 | 31 | parser.add_option("-p", "--port", dest="sport", |
32 | | - help="UDP port of board", type="int", default=27181) |
| 32 | + help="UDP port of board (default: 27181)", type="int", default=27181) |
33 | 33 | parser.add_option("-t", "--timeout", dest="timeout", |
34 | | - help="Response timeout in seconds", type="float", default=.2) |
| 34 | + help="Response timeout in seconds (default: 0.2)", type="float", default=.2) |
35 | 35 | parser.add_option("-s", "--space", dest="space", default=None, |
36 | 36 | choices = ["0", "1", "2", "3", "4", "5", "6", "7"], |
37 | 37 | help="Address space to read or write") |
|
0 commit comments