/* */
1 /* This file is generated automatically by convert.pl from global/manual.in. */
2 const char *progname = "global";
3 const char *usage_const = "Usage: global [-adGilnqrstTvx][-e] pattern\n\
4 global -c[diIoOPrsT] prefix\n\
5 global -f[adlnqrstvx][-L file-list] files\n\
6 global -g[aGilnoOqtvVx][-L file-list][-e] pattern [files]\n\
7 global -I[ailnqtvx][-e] pattern\n\
8 global -P[aGilnoOqtvVx][-e] pattern\n\
9 global -p[qrv]\n\
10 global -u[qv]\n";
11 const char *help_const = "Commands:\n\
12 <no command> pattern\n\
13 Print objects which match to the pattern.\n\
14 By default, print object definitions.\n\
15 -c, --completion [prefix]\n\
16 Print object names which start with the specified prefix.\n\
17 If prefix is not specified, print all object names.\n\
18 -f, --file files\n\
19 Print all objects in the files.\n\
20 This option implies the -x option.\n\
21 -g, --grep pattern [files]\n\
22 Print all lines which match to the pattern.\n\
23 If files is specified, this command searches in the files.\n\
24 --help\n\
25 Show help.\n\
26 -I, --idutils pattern\n\
27 Print all lines which match to the pattern.\n\
28 This function use idutils(1) as a search engine.\n\
29 To use this command, you need to install idutils(1)\n\
30 in your system and execute gtags(1) with the -I option.\n\
31 -P, --path [pattern]\n\
32 Print path names which match to the pattern.\n\
33 If no pattern specified, print all path names in the project.\n\
34 -p, --print-dbpath\n\
35 Print the location of GTAGS.\n\
36 -u, --update\n\
37 Update tag files incrementally.\n\
38 This command internally invokes gtags(1).\n\
39 You can execute this command anywhere in the project\n\
40 differing from gtags(1).\n\
41 --version\n\
42 Show version number.\n\
43 Options:\n\
44 -a, --absolute\n\
45 Print absolute path name. By default, print relative path name.\n\
46 -d, --definition\n\
47 Print locations of object definitions.\n\
48 --from-here context\n\
49 Decide tag type by the context. The context must be 'lineno:path'.\n\
50 If this option is specified then the -s and -r\n\
51 are ignored.\n\
52 Regular expression is not allowed for the pattern.\n\
53 This option assumes use in conversational environments such as\n\
54 editors and IDEs.\n\
55 -e, --regexp pattern\n\
56 Use pattern as the pattern; useful to protect patterns\n\
57 beginning with -.\n\
58 --encode-path chars\n\
59 Convert path characters in chars into a '%' symbol, followed by the\n\
60 two-digit hexadecimal representation of the character.\n\
61 A blank will be converted to '%20'.\n\
62 -G, --basic-regexp\n\
63 Interpret pattern as a basic regular expression.\n\
64 The default is extended regular expression.\n\
65 -i, --ignore-case\n\
66 Ignore case distinctions in the pattern.\n\
67 -l, --local\n\
68 Print only objects which exist under the current directory.\n\
69 -L, --file-list file-list\n\
70 Obtain files from file-list in addition to the arguments.\n\
71 --literal\n\
72 Execute literal search instead of regular expression search.\n\
73 This option is only valid when the -g command is specified.\n\
74 --match-part part\n\
75 Specify the matched part of path name.\n\
76 This option is valid only with the -c command with the -P option.\n\
77 The default is all.\n\
78 -n, --nofilter\n\
79 Suppress sort filter and path conversion filter.\n\
80 -O, --only-other\n\
81 Treat only text files other than source code like README.\n\
82 This option is valid only with the -g or -P command.\n\
83 This option overrides the -o option.\n\
84 -o, --other\n\
85 Treat not only source files but also text files other than source code\n\
86 like README.\n\
87 This option is valid only with the -g or -P command.\n\
88 --path-style format\n\
89 Print path names using the specified format.\n\
90 format may be relative, absolute, shorter, abslib or through.\n\
91 The --path-style option is given more priority than the -a options.\n\
92 --print0\n\
93 Print each record followed by a null character instead of a newline.\n\
94 -q, --quiet\n\
95 Quiet mode.\n\
96 -r, --reference, --rootdir\n\
97 Print locations of object references.\n\
98 With the -p option, print the root directory of the project.\n\
99 --result format\n\
100 Print out using the specified format.\n\
101 format may be path, ctags, ctags-x, grep or cscope.\n\
102 The default is path.\n\
103 The --result=ctags and --result=ctags-x are\n\
104 equivalent to the -t and -x respectively.\n\
105 The --result option is given more priority than the -t and -x options.\n\
106 --single-update file\n\
107 Update tag files incrementally using gtags(1) with --single-update option.\n\
108 It is considered that file was added or updated,\n\
109 and there is no change in other files.\n\
110 This option implies the -u option.\n\
111 -s, --symbol\n\
112 Print locations of the specified symbol other than definitions.\n\
113 -T, --through\n\
114 Go through all the tag files listed in GTAGSLIBPATH.\n\
115 By default, stop searching when tag is found.\n\
116 This option is ignored when either -s, -r\n\
117 or -l option is specified.\n\
118 -t, --tags\n\
119 Use standard ctags format.\n\
120 -v, --verbose\n\
121 Verbose mode.\n\
122 -V, --invert-match\n\
123 Invert the sense of matching, to select non-matching lines.\n\
124 This option is valid only with the -g or -P command.\n\
125 -x, --cxref\n\
126 Use standard ctags cxref (with the -x) format.\n\
127 See also:\n\
128 GNU GLOBAL web site: http://www.gnu.org/software/global/\n\
129 ";
/* */