format help
This commit is contained in:
@@ -295,9 +295,10 @@ def parse_options():
|
|||||||
parser_add.add_argument('-d','--direct', action="store_true", dest="direct", default = False,
|
parser_add.add_argument('-d','--direct', action="store_true", dest="direct", default = False,
|
||||||
help = "Allow direct file sharing (password hash included in URL)")
|
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-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,
|
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,
|
parser_add.add_argument('-i','--insert', action="store_true", dest="insert", default = False,
|
||||||
help = "Insert new share directly in the shares.json file"
|
help = "Insert new share directly in the shares.json file"
|
||||||
|
|||||||
Reference in New Issue
Block a user