forked from Github/filetags
Breaking change: reduced removing tags parameter to --remove only (no -d --delete or -r any more)
I am planning to re-use -r and -d for other options in the future. Usability should not suffer since I introduced "-tagname" input line feature in the previous versions. So if you want to remove a tag, use "filetags -i *" and the "-mytag" input method.
This commit is contained in:
parent
c1156c0f89
commit
a2ab5346eb
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
PROG_VERSION = "Time-stamp: <2017-11-11 16:43:47 vk>"
|
||||
PROG_VERSION = "Time-stamp: <2017-11-11 16:49:44 vk>"
|
||||
|
||||
# TODO:
|
||||
# - fix parts marked with «FIXXME»
|
||||
|
|
@ -146,7 +146,7 @@ parser.add_argument("-t", "--tags",
|
|||
required=False,
|
||||
help="one or more tags (in quotes, separated by spaces) to add/remove")
|
||||
|
||||
parser.add_argument("-r", "--remove", "-d", "--delete", action="store_true",
|
||||
parser.add_argument("--remove", action="store_true",
|
||||
help="remove tags from (instead of adding to) file name(s)")
|
||||
|
||||
parser.add_argument("-i", "--interactive", action="store_true", dest="interactive",
|
||||
|
|
|
|||
Loading…
Reference in a new issue