Clarify which bitbotd -a options are optional (#263)
Also disambiguate alias vs. hostname a little, just in case.
This commit is contained in:
parent
3fa2034c25
commit
5d2a3865a9
1 changed files with 6 additions and 6 deletions
|
@ -5,15 +5,15 @@ def bool_input(s: str):
|
||||||
return not result or result[0].lower() in ["", "y"]
|
return not result or result[0].lower() in ["", "y"]
|
||||||
|
|
||||||
def add_server():
|
def add_server():
|
||||||
alias = input("alias: ")
|
alias = input("alias (display name): ")
|
||||||
hostname = input("hostname: ")
|
hostname = input("hostname (address of server): ")
|
||||||
port = int(input("port: "))
|
port = int(input("port: "))
|
||||||
tls = bool_input("tls?")
|
tls = bool_input("tls?")
|
||||||
password = input("password?: ")
|
password = input("password (optional, leave blank to skip): ")
|
||||||
nickname = input("nickname: ")
|
nickname = input("nickname: ")
|
||||||
username = input("username: ")
|
username = input("username (optional): ")
|
||||||
realname = input("realname: ")
|
realname = input("realname (optional): ")
|
||||||
bindhost = input("bindhost?: ")
|
bindhost = input("bindhost (optional): ")
|
||||||
|
|
||||||
return irc.IRCConnectionParameters(-1, alias, hostname, port, password, tls,
|
return irc.IRCConnectionParameters(-1, alias, hostname, port, password, tls,
|
||||||
bindhost, nickname, username, realname)
|
bindhost, nickname, username, realname)
|
||||||
|
|
Loading…
Reference in a new issue