codesearch: Usage: /usr/bin/codesearch REFS Flags from external/gflags~/src/gflags.cc: -flagfile (load flags from file) type: string default: "" -fromenv (set flags from the environment [use 'export FLAGS_flag1=value']) type: string default: "" -tryfromenv (set flags from the environment if present) type: string default: "" -undefok (comma-separated list of flag names that it is okay to specify on the command line even if the program does not define a flag with that name. IMPORTANT: flags in this list that have arguments MUST use the flag=value format) type: string default: "" Flags from external/gflags~/src/gflags_completions.cc: -tab_completion_columns (Number of columns to use in output for tab completion) type: int32 default: 80 -tab_completion_word (If non-empty, HandleCommandLineCompletions() will hijack the process and attempt to do bash-style command line flag completion on this value.) type: string default: "" Flags from external/gflags~/src/gflags_reporting.cc: -help (show help on all flags [tip: all flags can have two dashes]) type: bool default: false currently: true -helpfull (show help on all flags -- same as -help) type: bool default: false -helpmatch (show help on modules whose name contains the specified substr) type: string default: "" -helpon (show help on the modules named by this flag value) type: string default: "" -helppackage (show help on all modules in the main package) type: bool default: false -helpshort (show help on only the main module for this program) type: bool default: false -helpxml (produce an xml version of help) type: bool default: false -version (show version and build info and exit) type: bool default: false Flags from src/chunk_allocator.cc: -chunk_power (Size of search chunks, as a power of two) type: int32 default: 27 Flags from src/codesearch.cc: -compress (Compress file contents linewise) type: bool default: true -drop_cache (Drop caches before each search) type: bool default: false -index (Create a suffix-array index to speed searches.) type: bool default: true -line_limit (Maximum line length to index.) type: int32 default: 1024 -search (Actually do the search.) type: bool default: true -threads (Number of threads to use.) type: int32 default: 4 -timeout (The number of milliseconds a single search may run for.) type: int32 default: 1000 Flags from src/dump_load.cc: -eager_memory_load (Eagerly load memory-mapped index file pages into virtual memory (Linux only)) type: bool default: false Flags from src/git_indexer.cc: -order_root (Walk top-level directories in this order.) type: string default: "" -revparse (Display parsed revisions, rather than as-provided) type: bool default: false Flags from src/lib/debug.cc: -debug (Enable debugging for selected subsystems) type: string default: "" Flags from src/tools/codesearch.cc: -dump_index (Dump the produced index to a specified file) type: string default: "" -grpc (GRPC listener address) type: string default: "localhost:9999" -hot_index_reload (Enable automatic reloads when the index file changes) type: bool default: false -index_only (Build the index and don't serve queries) type: bool default: false -load_index (Load the index from a file instead of walking the repository) type: string default: "" -load_tags (Load the index built from a tags file.) type: string default: "" -max_recv_message_size (Maximum gRPC receive (inbound) message size in bytes) type: int32 default: 0 -max_send_message_size (Maximum gRPC send (outbound) message size in bytes) type: int32 default: 0 -quiet (Do the search, but don't print results.) type: bool default: false -reload_rpc (Enable the Reload RPC) type: bool default: false -reuseport (Set SO_REUSEPORT to enable multiple concurrent server instances.) type: bool default: true Flags from src/tools/grpc_server.cc: -context_lines (The default number of result context lines to provide for a single query.) type: int32 default: 3 -max_matches (The default maximum number of matches to return for a single query.) type: int32 default: 50