88 |
int show_help; |
int show_help; |
89 |
int show_filter; /* undocumented command */ |
int show_filter; /* undocumented command */ |
90 |
int debug; |
int debug; |
91 |
|
int fileid; |
92 |
const char *extra_options; |
const char *extra_options; |
93 |
|
|
94 |
static void |
static void |
132 |
|
|
133 |
/* long name only */ |
/* long name only */ |
134 |
{"debug", no_argument, &debug, 1}, |
{"debug", no_argument, &debug, 1}, |
135 |
|
{"fileid", no_argument, &fileid, 1}, |
136 |
{"version", no_argument, &show_version, 1}, |
{"version", no_argument, &show_version, 1}, |
137 |
{"help", no_argument, &show_help, 1}, |
{"help", no_argument, &show_help, 1}, |
138 |
{"filter", no_argument, &show_filter, 1}, |
{"filter", no_argument, &show_filter, 1}, |
438 |
strbuf_puts(pathfilter, " --relative"); |
strbuf_puts(pathfilter, " --relative"); |
439 |
if (xflag || tflag) |
if (xflag || tflag) |
440 |
strbuf_puts(pathfilter, " --cxref"); |
strbuf_puts(pathfilter, " --cxref"); |
441 |
|
if (fileid) |
442 |
|
strbuf_puts(pathfilter, " --fileid"); |
443 |
strbuf_putc(pathfilter, ' '); |
strbuf_putc(pathfilter, ' '); |
444 |
strbuf_puts(pathfilter, root); |
strbuf_puts(pathfilter, root); |
445 |
strbuf_putc(pathfilter, ' '); |
strbuf_putc(pathfilter, ' '); |
446 |
strbuf_puts(pathfilter, cwd); |
strbuf_puts(pathfilter, cwd); |
447 |
|
strbuf_putc(pathfilter, ' '); |
448 |
|
strbuf_puts(pathfilter, dbpath); |
449 |
/* |
/* |
450 |
* print filter. |
* print filter. |
451 |
*/ |
*/ |