aboutsummaryrefslogtreecommitdiff
path: root/src/cmdline.opt
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-09-25 17:31:24 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2012-09-25 17:45:23 +0300
commit455e12faaf5efd997ff74ad04c0fcc62608477a5 (patch)
tree46d24aba487fb2ea76078ef4da60357ff0a340e4 /src/cmdline.opt
parent2f5d961c798802f1e467de1cd310f661e0a45fa7 (diff)
downloadeclat-455e12faaf5efd997ff74ad04c0fcc62608477a5.tar.gz
eclat-455e12faaf5efd997ff74ad04c0fcc62608477a5.tar.bz2
Use forlan to format the output.
* lib/forlan.h (forlan_lex_begin): Remove (forlan_lex_from_buffer) (forlan_lex_from_file): New protos. (forlan_parse): Remove. (forlan_parse_bufferm,forlan_parse_file): New protos. * lib/forlangrm.y (forlan_parse): Remove. (forlan_parse_bufferm,forlan_parse_file): New functions. * lib/forlanlex.l (YY_INPUT): Optionally, read input from file. (forlan_lex_begin): Remove (forlan_lex_from_buffer) (forlan_lex_from_file): New functions. * src/cmdline.opt: New options: --format, --sort * src/config.c: New statement: format. * src/eclat.c: Use output format scripts, if provided. * src/eclat.conf: Define output format for DescribeTags. * src/eclat.h: Include forlan.h (define_format): New proto. * tests/tforlan.c: New option: -s
Diffstat (limited to 'src/cmdline.opt')
-rw-r--r--src/cmdline.opt12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt
index 1f8d56d..a17f2b8 100644
--- a/src/cmdline.opt
+++ b/src/cmdline.opt
@@ -127,6 +127,18 @@ BEGIN
use_ssl = 1;
END
+OPTION(format,F,FILE,
+ [<use FILE to format the output>])
+BEGIN
+ format_file = optarg;
+END
+
+OPTION(sort,s,,
+ [<sort the returned XML teee prior to outputting it>])
+BEGIN
+ sort_option = 1;
+END
+
GROUP(Preprocessor control)
OPTION(include-directory,I,DIR,

Return to:

Send suggestions and report system problems to the System administrator.