script: move from delete to --delete
This commit is contained in:
@@ -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])
|
||||
|
Reference in New Issue
Block a user