@@ -29,8 +29,7 @@ def instance(cls) -> 'Config':
29
29
parser .add_argument ('-p' , '--prefix' , type = str , help = 'Command prefix for bot commands' , default = '!' )
30
30
parser .add_argument ('-l' , '--log-file' , type = str , help = 'Log file location' , default = '/tmp/graham_bot.log' )
31
31
parser .add_argument ('-s' , '--status' , type = str , help = "The bot's 'playing status'" , default = None , required = False )
32
- parser .add_argument ('-u' , '--node-url' , type = str , help = 'URL of the node' , default = '[::1]' )
33
- parser .add_argument ('-np' , '--node-port' , type = int , help = 'Port of the node' , default = 7072 if Env .banano () else 7076 )
32
+ parser .add_argument ('-u' , '--node-url' , type = str , help = 'URL of the node, e.g.: http://[::1]:7072' , default = 'http://[::1]:7072' if Env .banano () else 'http://[::1]:7076' )
34
33
parser .add_argument ('--debug' , action = 'store_true' , help = 'Runs in debug mode if specified' , default = False )
35
34
options , unknown = parser .parse_known_args ()
36
35
@@ -53,7 +52,6 @@ def instance(cls) -> 'Config':
53
52
exit (1 )
54
53
55
54
cls .node_url = options .node_url
56
- cls .node_port = options .node_port
57
55
return cls ._instance
58
56
59
57
def has_yaml (self ) -> bool :
0 commit comments