From a2ab5346ebe5b7bf9c20abef96ce27e8c7ea587b Mon Sep 17 00:00:00 2001 From: Karl Voit Date: Sat, 11 Nov 2017 16:49:59 +0100 Subject: [PATCH] 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. --- filetags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filetags.py b/filetags.py index c17c4c5..9f4c1ee 100755 --- a/filetags.py +++ b/filetags.py @@ -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",