format help

This commit is contained in:
Ville Rantanen
2018-02-08 13:48:28 +02:00
parent 1d8d16a8b3
commit f907a88d21

View File

@@ -295,9 +295,10 @@ def parse_options():
parser_add.add_argument('-d','--direct', action="store_true", dest="direct", default = False,
help = "Allow direct file sharing (password hash included in URL)")
parser_add.add_argument('--pass-plain', action="store", dest="plain", default = False)
parser_add.add_argument('--pass-hash', action="store", dest="hashed", default = False)
parser_add.add_argument('--pass-hash', action="store", dest="hashed", default = False,
help = "Hashed password allows use of login links and direct downloads")
parser_add.add_argument('-e','--expire', action="store", dest="expire", default = False,
help = "expire date in format '%Y-%m-%d %H:%M' ex. '2018-12-24 21:00'"
help = "expire date in format '%%Y-%%m-%%d %%H:%%M' ex. '2018-12-24 21:00'"
)
parser_add.add_argument('-i','--insert', action="store_true", dest="insert", default = False,
help = "Insert new share directly in the shares.json file"