Commit bd9aaa8f authored by Vincent Pelletier's avatar Vincent Pelletier

Add a default value for --address parameter.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1254 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 8920b917
...@@ -26,7 +26,7 @@ parser = OptionParser() ...@@ -26,7 +26,7 @@ parser = OptionParser()
parser.add_option('-v', '--verbose', action = 'store_true', parser.add_option('-v', '--verbose', action = 'store_true',
help = 'print verbose messages') help = 'print verbose messages')
parser.add_option('-a', '--address', help = 'specify the address (ip:port) ' \ parser.add_option('-a', '--address', help = 'specify the address (ip:port) ' \
'of an admin node') 'of an admin node', default = '127.0.0.1:5555')
parser.add_option('--handler', help = 'specify the connection handler') parser.add_option('--handler', help = 'specify the connection handler')
(options, args) = parser.parse_args() (options, args) = parser.parse_args()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment