Compare commits
3 Commits
92baf351a5
...
77886cb1c6
Author | SHA1 | Date | |
---|---|---|---|
77886cb1c6 | |||
57394668be | |||
3b1f91bcb0 |
@ -83,6 +83,12 @@ class ListenCommand(CliCommand):
|
||||
|
||||
@classmethod
|
||||
def setup_arguments(cls, parser: argparse.ArgumentParser) -> None:
|
||||
parser.add_argument(
|
||||
"--host",
|
||||
metavar="HOST",
|
||||
help="Host to listen on.",
|
||||
default=str(cm().listen_host or "127.0.0.1"),
|
||||
)
|
||||
parser.add_argument(
|
||||
"-p", "--port",
|
||||
metavar="PORT",
|
||||
@ -109,6 +115,7 @@ class ListenCommand(CliCommand):
|
||||
tw.exec(
|
||||
[
|
||||
("listen",
|
||||
f"host={args.host}",
|
||||
f"port={args.port}",
|
||||
f"username={args.username}",
|
||||
f"password={args.password}")
|
||||
|
Loading…
Reference in New Issue
Block a user