version 1.12, 2009/10/27 23:59:37 |
version 1.13, 2010/11/03 19:39:38 |
|
|
|
|
int lineno; /* line number of current line */ |
int lineno; /* line number of current line */ |
int dflag; /* -d: non-macro defines */ |
int dflag; /* -d: non-macro defines */ |
int tflag; /* -t: create tags for typedefs */ |
|
int vflag; /* -v: vgrind style index output */ |
int vflag; /* -v: vgrind style index output */ |
int wflag; /* -w: suppress warnings */ |
int wflag; /* -w: suppress warnings */ |
int xflag; /* -x: cxref style output */ |
int xflag; /* -x: cxref style output */ |
|
|
outfile = optarg; |
outfile = optarg; |
break; |
break; |
case 't': |
case 't': |
tflag++; |
/* backwards compatibility */ |
break; |
break; |
case 'u': |
case 'u': |
uflag++; |
uflag++; |
|
|
argc -= optind; |
argc -= optind; |
if (!argc) { |
if (!argc) { |
usage: (void)fprintf(stderr, |
usage: (void)fprintf(stderr, |
"usage: ctags [-aBdFtuvwx] [-f tagsfile] file ...\n"); |
"usage: ctags [-aBdFuvwx] [-f tagsfile] file ...\n"); |
exit(1); |
exit(1); |
} |
} |
|
|