Lines Matching defs:options

70     private final List<Option> options;
73 options = new ArrayList<Option>();
74 options.add(new Option('?', null, "Help"));
75 options.add(new Option('A', "ext:analyzer", "Files with the named extension should be analyzed with the specified class"));
76 options.add(new Option('a', ON_OFF, "Allow or disallow leading wildcards in a search"));
77 options.add(new Option('B', "url", "Base URL of the user Information provider. Default: \"http://www.opensolaris.org/viewProfile.jspa?username=\""));
78 options.add(new Option('C', null, "Print per project percentage progress information(I/O extensive, since one read through dir structure is made before indexing, needs -v, otherwise it just goes to the log)"));
79 options.add(new Option('c', "/path/to/ctags", "Path to Exuberant Ctags from http://ctags.sf.net by default takes the Exuberant Ctags in PATH."));
80 options.add(new Option('D', null, "Store history cache in a database (needs the JDBC driver in the classpath, typically derbyclient.jar or derby.jar)"));
81 options.add(new Option('d', "/path/to/data/root", "The directory where OpenGrok stores the generated data"));
82 options.add(new Option('e', null, "Economical - consumes less disk space. It does not generate hyper text cross reference files offline, but will do so on demand - which could be sightly slow."));
83 options.add(new Option('E', null, "Turn off compression of generated hyper text cross reference files. Might be useful, if the underlying filesystem has compression already enabled."));
84 options.add(new Option('H', null, "Generate history cache for all repositories"));
85 options.add(new Option('h', "/path/to/repository", "just generate history cache for the specified repos (absolute path from source root)"));
86 options.add(new Option('I', "pattern", "Only files matching this pattern will be examined (supports wildcards, example: -I *.java -I *.c)"));
87 options.add(new Option('i', "pattern", "Ignore the named files or directories (supports wildcards, example: -i *.so -i *.dll)"));
88 options.add(new Option('j', "class", "Name of the JDBC driver class used by the history cache. Can use one of the shorthands \"client\" (org.apache.derby.jdbc.ClientDriver) or \"embedded\" (org.apache.derby.jdbc.EmbeddedDriver). Default: \"client\""));
89 options.add(new Option('k', "/path/to/repository", "Kill the history cache for the given repository and exit. Use '*' to delete the cache for all repositories."));
90 options.add(new Option('K', null, "List all repository pathes and exit."));
91 options.add(new Option('L', "path", "Path to the subdirectory in the web-application containing the requested stylesheet. The following factory-defaults exist: \"default\", \"offwhite\" and \"polished\""));
92 options.add(new Option('l', ON_OFF, "Turn on/off locking of the Lucene database during index generation"));
93 options.add(new Option('m', NUMBER, "The maximum words to index in a file"));
94 options.add(new Option('N', "/path/to/symlink", "Allow this symlink to be followed. Option may be repeated."));
95 options.add(new Option('n', null, "Do not generate indexes, but process all other command line options"));
96 options.add(new Option('O', ON_OFF, "Turn on/off the optimization of the index database as part of the indexing step"));
97 options.add(new Option('o', "path", "File with extra command line options for ctags"));
98 options.add(new Option('P', null, "Generate a project for each of the top-level directories in source root"));
99 options.add(new Option('p', "/path/to/default/project", "This is the path to the project that should be selected by default in the web application(when no other project set either in cookie or in parameter). You should strip off the source root."));
100 options.add(new Option('Q', ON_OFF, "Turn on/off quick context scan. By default only the first 32k of a file is scanned, and a '[..all..]' link is inserted if the file is bigger. Activating this may slow the server down (Note: this is setting only affects the web application)"));
101 options.add(new Option('q', null, "Run as quietly as possible, reset console loggers to suppress messages with a severity < WARMING and file loggers to supress messages with a severity < INFO as well as verbose messages."));
102 options.add(new Option('R', "/path/to/configuration", "Read configuration from the specified file"));
103 options.add(new Option('r', ON_OFF, "Turn on/off support for remote SCM systems"));
104 options.add(new Option('S', null, "Search for \"external\" source repositories and add them"));
105 options.add(new Option('s', "/path/to/source/root", "The root directory of the source tree"));
106 options.add(new Option('T', NUMBER, "The number of threads to use for index generation. By default the number of threads will be set to the number of available CPUs"));
107 options.add(new Option('t', NUMBER, "Default tabsize to use (number of spaces per tab character)"));
108 options.add(new Option('U', "host:port", "Send the current configuration to the specified address (This is most likely the web-app configured with ConfigAddress)"));
109 options.add(new Option('u', "url", "URL to the database that contains the history cache. Default: If -j specifies \"embedded\", \"jdbc:derby:$DATA_ROOT/cachedb;create=true\"; otherwise, \"jdbc:derby://localhost/cachedb;create=true\""));
110 options.add(new Option('V', null, "Print version and quit"));
111 options.add(new Option('v', null, "Enable verbose messages, i.e. reset console and file loggers to suppress messages with a severity < INFO, only."));
112 options.add(new Option('W', "/path/to/configuration", "Write the current configuration to the specified file (so that the web application can use the same configuration"));
113 options.add(new Option('w', "webapp-context", "Context of webapp. Default is /source. If you specify a different name, make sure to rename source.war to that name."));
114 options.add(new Option('X', "url:suffix", "URL Suffix for the user Information provider. Default: \"\""));
115 options.add(new Option('z', NUMBER, "depth of scanning for repositories in directory structure relative to source root"));
116 options.add(new Option('Z', null, "allow printing the internal settings in /status.jsp. Per default it is disabled for security reasons."));
121 for (Option o : options) {
131 for (Option o : options) {
154 out.println("Usage: opengrok.jar [options]");
155 for (Option o : options) {
178 for (Option o : options) {
190 for (Option o : options) {
207 * that all options contains a description :-)
209 * @return an iterator to iterate through all of the command line options
212 return options.iterator();