formatting

This commit is contained in:
quackerd 2020-05-04 05:21:23 -04:00
parent b71626e5f8
commit 3e254beabc
Signed by: d
GPG Key ID: 590A22374D0B819F
1 changed files with 12 additions and 12 deletions

View File

@ -12,12 +12,12 @@ def randomString(stringLength=16):
return ''.join(random.choice(letters) for i in range(stringLength))
def usage():
print("Usage: python setup.py [options]\n\
Options:\n\
-h : show usage\n\
-d domain : your domain - mydomain.tld\n\
[-s subdomain] : your subdomain. Optional.\n\
[-e email] : your email. Optional.\n")
print("Usage: python setup.py [options]\n\n\
options:\n\
-h : show usage.\n\
-d domain : your domain - mydomain.tld.\n\
[-s subdomain] : your subdomain. Optional.\n\
[-e email] : your email. Optional.\n")
def main():
email = None
@ -106,11 +106,11 @@ def main():
with open("client.conf", "w") as file:
file.write(output)
print("Processed all files. The detailed client config is written to client.conf.\n\
Summary:\n\
Server Address: " + server_name + "\n\
Path: " + v_path + "\n\
UUID: " + v_uuid + "\n\n\
Please run docker-compose up -d to start the service.")
print("Processed all files. The detailed client config is written to client.conf.\n" + \
" Summary:\n" + \
" Server Address: " + server_name + "\n" \
" Path: " + v_path + "\n" \
" UUID: " + str(v_uuid) + "\n" \
"Please run docker-compose up -d to start the service.")
main()