/[global]/global/gtags/gtags.c
ViewVC logotype

Diff of /global/gtags/gtags.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.129 by h-iwamoto, Tue Aug 9 13:12:08 2005 UTC revision 1.130 by h-iwamoto, Tue Aug 9 16:39:53 2005 UTC
# Line 114  help(void) Line 114  help(void)
114  }  }
115    
116  static struct option const long_options[] = {  static struct option const long_options[] = {
         {"absolute", no_argument, &do_absolute, 1},  
117          {"compact", no_argument, NULL, 'c'},          {"compact", no_argument, NULL, 'c'},
         {"cxref", no_argument, &cxref, 1},  
118          {"idutils", no_argument, NULL, 'I'},          {"idutils", no_argument, NULL, 'I'},
119          {"incremental", no_argument, NULL, 'i'},          {"incremental", no_argument, NULL, 'i'},
120          {"max-args", required_argument, NULL, 'n'},          {"max-args", required_argument, NULL, 'n'},
# Line 126  static struct option const long_options[ Line 124  static struct option const long_options[
124          {"warning", no_argument, NULL, 'w'},          {"warning", no_argument, NULL, 'w'},
125    
126          /* long name only */          /* long name only */
127            {"absolute", no_argument, &do_absolute, 1},
128          {"config", optional_argument, &show_config, 1},          {"config", optional_argument, &show_config, 1},
129          {"convert", no_argument, &do_convert, 1},          {"convert", no_argument, &do_convert, 1},
130            {"cxref", no_argument, &cxref, 1},
131          {"debug", no_argument, &debug, 1},          {"debug", no_argument, &debug, 1},
132          {"expand", required_argument, &do_expand, 1},          {"expand", required_argument, &do_expand, 1},
133          {"find", no_argument, &do_find, 1},          {"find", no_argument, &do_find, 1},
# Line 199  main(argc, argv) Line 199  main(argc, argv)
199          int optchar;          int optchar;
200          int option_index = 0;          int option_index = 0;
201    
202          while ((optchar = getopt_long(argc, argv, "cGiIn:oPqvw", long_options, &option_index)) != EOF) {          while ((optchar = getopt_long(argc, argv, "ciIn:oqvwse", long_options, &option_index)) != EOF) {
203                  switch (optchar) {                  switch (optchar) {
204                  case 0:                  case 0:
205                          p = long_options[option_index].name;                          p = long_options[option_index].name;

Legend:
Removed from v.1.129  
changed lines
  Added in v.1.130

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26