Minor changes

This commit is contained in:
Tim Van Baak 2020-01-18 17:15:38 -08:00
parent 6c5111a067
commit 0b8af9f034
2 changed files with 5 additions and 3 deletions

View File

@ -70,9 +70,11 @@ def command_list(args):
print("{0} {1} ({2})".format(user['uid'], user['displayname'], user['username']))
@requires_username
@add_argument("--get", metavar="PATHSPEC", dest="get",
@add_argument(
"--get", metavar="PATHSPEC", dest="get",
nargs="?", const=CONFIG_GET_ROOT_VALUE, help="Get the value of a config key")
@add_argument("--set", metavar=("PATHSPEC", "VALUE"), dest="set",
@add_argument(
"--set", metavar=("PATHSPEC", "VALUE"), dest="set",
nargs=2, help="Set the value of a config key")
def command_config(args):
"""

View File

@ -11,7 +11,7 @@
"current": null,
"start": 1,
"max": 8,
"index": {
"assigned_index": {
}
},
"join": {