Merge Bug corrected.
[mx3r.git] / cmdline.h
blobb9405688893c0d34bfa22a94ec1634bc6416f844
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 /***** --test-plugin: try to load the split-lines plugin */
28 char test_pluginP;
29 /***** --help: show usage information */
30 char show_helpP;
31 /***** uninterpreted command line parameters */
32 int argc;
33 /*@null*/char **argv;
34 /***** the whole command line concatenated */
35 char *tool;
36 } Cmdline;
39 extern char *Program;
40 extern void usage(void);
41 extern /*@shared*/Cmdline *parseCmdline(int argc, char **argv);
43 #endif