aboutsummaryrefslogtreecommitdiff
path: root/src/cmdline.opt
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-07-08 14:00:35 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-07-08 14:00:35 +0300
commit3d82867917b5a5d517a0b238b7f0dbd244855dec (patch)
tree377a4754eae09ab0dba3fa931a93738079411782 /src/cmdline.opt
parentaeefe0f04e3eb45cec6cbd0ed6296ca0ea2844a6 (diff)
downloadidest-3d82867917b5a5d517a0b238b7f0dbd244855dec.tar.gz
idest-3d82867917b5a5d517a0b238b7f0dbd244855dec.tar.bz2
Add a possibility to delete a subset of ID3 frames.
* NEWS: Document changes to --delete. * doc/idest.texi: Likewise. * src/cmdline.opt: --delete takes optional argument. -d is a shorthand for it. * src/idop.c (del_tags): Delete only certain frames, if a frame list is given.
Diffstat (limited to 'src/cmdline.opt')
-rw-r--r--src/cmdline.opt8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt
index 55a13c8..6029e10 100644
--- a/src/cmdline.opt
+++ b/src/cmdline.opt
@@ -53,10 +53,12 @@ BEGIN
ed_list_add_assignment(optarg, p);
END
-OPTION(delete,,,
- [<delete all ID3 tags>])
+OPTION(delete,d,[FLIST],
+ [<delete ID3 tags>])
BEGIN
- SET_MODE(MODE_DELETE);
+ SET_MODE(MODE_DELETE);
+ if (optarg)
+ parse_ed_items(optarg);
END
OPTION(info,i,,

Return to:

Send suggestions and report system problems to the System administrator.