@@ -8,16 +8,27 @@ int main(int argc, char *argv[]) {
88 llvm::cl::extrahelp MoreHelp (" \n Produce Bindings for scala native. Please "
99 " specify lib name with parameter name\n " );
1010
11- llvm::cl::opt<std::string> LibName (" name" , llvm::cl::cat (Category));
12- llvm::cl::opt<std::string> StdHeaders (" std-headers" ,
13- llvm::cl::cat (Category));
14- llvm::cl::opt<bool > PrintHeadersLocation (" location" ,
15- llvm::cl::cat (Category));
16- llvm::cl::opt<std::string> ExcludePrefix (" exclude-prefix" ,
17- llvm::cl::cat (Category));
11+ llvm::cl::opt<std::string> LibName (" name" , llvm::cl::cat (Category),
12+ llvm::cl::desc (" Library name" ));
13+ llvm::cl::opt<std::string> StdHeaders (
14+ " std-headers" , llvm::cl::cat (Category),
15+ llvm::cl::desc (" Path to a file with the list of headers for which "
16+ " bindings\n "
17+ " will not be generated. "
18+ " The list contains header files names\n "
19+ " and package names that contain bindings for these "
20+ " headers.\n Example:\n "
21+ " math.h=scala.scalanative.native.math\n "
22+ " stdlib.h=scala.scalanative.native.stdlib" ));
23+ llvm::cl::opt<bool > PrintHeadersLocation (
24+ " location" , llvm::cl::cat (Category),
25+ llvm::cl::desc (" Print list of parsed headers" ));
26+ llvm::cl::opt<std::string> ExcludePrefix (
27+ " exclude-prefix" , llvm::cl::cat (Category),
28+ llvm::cl::desc (" Functions and unused typedefs will be removed if their "
29+ " names\n have given prefix" ));
1830 llvm::cl::opt<std::string> Package (
1931 " package" , llvm::cl::cat (Category),
20- llvm::cl::value_desc (" package-name" ),
2132 llvm::cl::desc (" Package name of generated Scala file" ));
2233 clang::tooling::CommonOptionsParser op (argc, (const char **)argv, Category);
2334 clang::tooling::ClangTool Tool (op.getCompilations (),
0 commit comments