1 include "llvm/Option/OptParser.td"
3 class F<string name, string help> : Flag<["-"], name>, HelpText<help>;
4 class FF<string name, string help>: Flag<["--"], name>, HelpText<help>;
5 class S<string name, string meta, string help>: Separate<["-"], name>, HelpText<help>, MetaVarName<meta>;
7 def help : FF<"help", "Display available options">;
8 def : F<"h", "Alias for --help">, Alias<help>;
10 S<"c", "<ulong>", "Maximum number of files to scan concurrently. "
11 "If 0, use the hardware concurrency.">;
12 def host_interface : S<"i", "<string>", "Host interface to bind to.">;
14 S<"m", "<number>", "Minimum number of seconds to wait before an on-demand update can be"
15 "triggered by a request for a buildid which is not in the collection.">;
16 def port : S<"p", "<uint>", "Port to listen on. Set to 0 to bind to any available port.">;
18 S<"t", "<int>", "Number of seconds to wait between subsequent "
19 "automated scans of the filesystem.">;
20 def verbose_logging : F<"v", "Enable verbose logging.">;