brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 1de241a Raw
21 lines · plain
1include "llvm/Option/OptParser.td"2 3class F<string name, string help> : Flag<["-"], name>, HelpText<help>;4class FF<string name, string help>: Flag<["--"], name>, HelpText<help>;5class S<string name, string meta, string help>: Separate<["-"], name>, HelpText<help>, MetaVarName<meta>;6 7def help : FF<"help", "Display available options">;8def : F<"h", "Alias for --help">, Alias<help>;9def max_concurrency :10   S<"c", "<ulong>", "Maximum number of files to scan concurrently. "11                     "If 0, use the hardware concurrency.">;12def host_interface : S<"i", "<string>", "Host interface to bind to.">;13def min_interval :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.">;16def port : S<"p", "<uint>", "Port to listen on. Set to 0 to bind to any available port.">;17def scan_interval :18    S<"t", "<int>", "Number of seconds to wait between subsequent "19                    "automated scans of the filesystem.">;20def verbose_logging : F<"v", "Enable verbose logging.">;21