diff options
| author | troido <troido@hotmail.com> | 2018-01-10 17:18:29 +0100 |
|---|---|---|
| committer | troido <troido@hotmail.com> | 2018-01-10 17:18:29 +0100 |
| commit | 9ef6526ecb2c0ff4244fbfde5bb01a0e7a6dd622 (patch) | |
| tree | 186924079a0d236e1574931477f15d9e52c1fe94 /asciifarm/client/main.py | |
| parent | 1bc93078cc5c2801236a5a6f57bb56ae5081a844 (diff) | |
started tildenames client-side
Diffstat (limited to 'asciifarm/client/main.py')
| -rwxr-xr-x | asciifarm/client/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asciifarm/client/main.py b/asciifarm/client/main.py index fa8a074..de77d09 100755 --- a/asciifarm/client/main.py +++ b/asciifarm/client/main.py @@ -32,7 +32,7 @@ def main(argv=None): Kill the goblins and plant the seeds. ~troido""", formatter_class=argparse.RawDescriptionHelpFormatter) - parser.add_argument('-n', '--name', help='Your player name (must be unique!). Defaults to username', default=getpass.getuser()) + parser.add_argument('-n', '--name', help='Your player name (must be unique!). Defaults to username', default="~"+getpass.getuser()) parser.add_argument("-a", "--address", help="The address of the socket. When the socket type is 'abstract' this is just a name. When it is 'unix' this is a filename. When it is 'inet' is should be in the format 'address:port', eg 'localhost:8080'. Defaults depends on the socket type") parser.add_argument("-s", "--socket", help="the socket type. 'unix' is unix domain sockets, 'abstract' is abstract unix domain sockets and 'inet' is inet sockets. ", choices=["abstract", "unix", "inet"], default="abstract") parser.add_argument('-k', '--keybindings', help='The script with the keybindings. This file is a snippet of hy script.', default="keybindings") |
