aboutsummaryrefslogtreecommitdiff
path: root/src/cmdline.opt
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-03-17 11:59:19 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-03-17 11:59:19 +0200
commite25a44d9bdc40ca8bf2efcd12ed73e2104fdb360 (patch)
treeb805996c317f299b5421d6f48c9528664da00981 /src/cmdline.opt
parenta0a067bde62b828a09f165524dc993580ac7e450 (diff)
downloadidest-e25a44d9bdc40ca8bf2efcd12ed73e2104fdb360.tar.gz
idest-e25a44d9bdc40ca8bf2efcd12ed73e2104fdb360.tar.bz2
Improve scripting, implement v1->v2 conversion, implement --delete command.
* libid3tag/file.c (v2_write): Change for make it possible to convert v1 to v2. * src/.gitignore: Add guile.x. * src/Makefile.am (idest_SOURCES): Add guile.x (BUILT_SOURCES): Add guile.x (SUFFIXES): Add .x (.c.x): New rule * src/cmdline.opt: New option: --trace. * src/guile.c: Rewrite. * src/idest.h (MODE_QUERY, MODE_MOD, MODE_DELETE): New defines (from main.c). (guile_transform, guile_list): New protos. (guile_apply): Remove. * src/idop.c (set_tags): Handle convert_version == 2. (del_tags): New function. * src/main.c (del_id3): Call del_tags
Diffstat (limited to 'src/cmdline.opt')
-rw-r--r--src/cmdline.opt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt
index faf7323..06fd798 100644
--- a/src/cmdline.opt
+++ b/src/cmdline.opt
@@ -109,6 +109,16 @@ OPTION(function,f,NAME,
BEGIN
guile_function = optarg;
END
+
+OPTION(trace,,[LEVEL],
+ [<Start with debugging evaluator and backtraces>])
+BEGIN
+ if (optarg)
+ guile_debug = atoi(optarg);
+ else
+ guile_debug = 1;
+END
+
>])
OPTIONS_END

Return to:

Send suggestions and report system problems to the System administrator.