script: move from delete to --delete

This commit is contained in:
2019-08-14 20:53:42 +02:00
parent 0f92ef1a5f
commit bcc5c785ba
2 changed files with 6 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ def parse_action():
if len(args) == 2:
return ShowAction(path)
if len(args) == 3 and args[2] == 'delete':
if len(args) == 3 and args[2] == '--delete':
return DeleteAction(path)
return AddAction(path, args[2])