Added -v flag. Some changes trying to merge a XML file.
[mx3r.git] / cmdline.h
blobf95c81f24279f872b75343af60220dc3ecbf5b53
1 #ifndef __cmdline__
2 #define __cmdline__
3 /*****
4 command line parser interface -- generated by clig
5 (http://wsd.iitb.fhg.de/~geg/clighome/)
7 The command line parser `clig':
8 (C) 1995-2004 Harald Kirsch (clig@geggus.net)
9 *****/
11 typedef struct s_Cmdline {
12 /***** --blr: <base-filename> <local-filename> <remote-filename>
13 Try a full (base->local to remote) merge */
14 char do_blrmergeP;
15 char* *do_blrmerge;
16 int do_blrmergeC;
17 /***** -o: <output_file>
18 Store the mx3d result onto the specified file */
19 char output_fileP;
20 char* output_file;
21 int output_fileC;
22 /***** --hashcmp: <line1> <line2> ... <lineN>
23 Do a hash compare between 4 or more lines. */
24 char do_hashcmpP;
25 char* *do_hashcmp;
26 int do_hashcmpC;
27 /***** -v: be verbose, output debug information */
28 char be_verboseP;
29 /***** --test-plugin: try to load the split-lines plugin */
30 char test_pluginP;
31 /***** --help: show usage information */
32 char show_helpP;
33 /***** uninterpreted command line parameters */
34 int argc;
35 /*@null*/char **argv;
36 /***** the whole command line concatenated */
37 char *tool;
38 } Cmdline;
41 extern char *Program;
42 extern void usage(void);
43 extern /*@shared*/Cmdline *parseCmdline(int argc, char **argv);
45 #endif