llvm.org GIT mirror llvm / 82a13c9
Move the space in overview output for commands out of each of the commands and into the common code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42752 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 11 years ago
19 changed file(s) with 19 addition(s) and 19 deletion(s). Raw diff Collapse all Expand all
950950 }
951951
952952 if (ProgramOverview)
953 cout << "OVERVIEW:" << ProgramOverview << "\n";
953 cout << "OVERVIEW: " << ProgramOverview << "\n";
954954
955955 cout << "USAGE: " << ProgramName << " [options]";
956956
6565 int main(int argc, char **argv) {
6666 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
6767 cl::ParseCommandLineOptions(argc, argv,
68 " LLVM automatic testcase reducer. See\nhttp://"
68 "LLVM automatic testcase reducer. See\nhttp://"
6969 "llvm.org/docs/CommandGuide/bugpoint.html"
7070 " for more information.\n");
7171 sys::PrintStackTraceOnErrorSignal();
171171 //
172172 int main(int argc, char **argv) {
173173 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
174 cl::ParseCommandLineOptions(argc, argv, " llvm system compiler\n");
174 cl::ParseCommandLineOptions(argc, argv, "llvm system compiler\n");
175175 sys::PrintStackTraceOnErrorSignal();
176176
177177 // Load the module to be compiled...
6666 int main(int argc, char **argv, char * const *envp) {
6767 atexit(do_shutdown); // Call llvm_shutdown() on exit.
6868 cl::ParseCommandLineOptions(argc, argv,
69 " llvm interpreter & dynamic compiler\n");
69 "llvm interpreter & dynamic compiler\n");
7070 sys::PrintStackTraceOnErrorSignal();
7171
7272 // If the user doesn't want core files, disable them.
689689 // Have the command line options parsed and handle things
690690 // like --help and --version.
691691 cl::ParseCommandLineOptions(argc, argv,
692 " LLVM Archiver (llvm-ar)\n\n"
692 "LLVM Archiver (llvm-ar)\n\n"
693693 " This program archives bitcode files into single libraries\n"
694694 );
695695
4747
4848 int main(int argc, char **argv) {
4949 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
50 cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .bc assembler\n");
50 cl::ParseCommandLineOptions(argc, argv, "llvm .ll -> .bc assembler\n");
5151 sys::PrintStackTraceOnErrorSignal();
5252
5353 int exitCode = 0;
495495
496496 int main(int argc, char **argv) {
497497 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
498 cl::ParseCommandLineOptions(argc, argv, " llvm-bcanalyzer file analyzer\n");
498 cl::ParseCommandLineOptions(argc, argv, "llvm-bcanalyzer file analyzer\n");
499499
500500 sys::PrintStackTraceOnErrorSignal();
501501
5252 std::cout << "NOTE: llvm-db is known useless right now.\n";
5353 try {
5454 cl::ParseCommandLineOptions(argc, argv,
55 " llvm source-level debugger\n");
55 "llvm source-level debugger\n");
5656 sys::PrintStackTraceOnErrorSignal();
5757
5858 if (!Quiet)
4545 int main(int argc, char **argv) {
4646 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
4747 try {
48 cl::ParseCommandLineOptions(argc, argv, " llvm .bc -> .ll disassembler\n");
48 cl::ParseCommandLineOptions(argc, argv, "llvm .bc -> .ll disassembler\n");
4949 sys::PrintStackTraceOnErrorSignal();
5050
5151 std::ostream *Out = &std::cout; // Default to printing to stdout.
5151
5252 int main(int argc, char **argv) {
5353 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
54 cl::ParseCommandLineOptions(argc, argv, " llvm extractor\n");
54 cl::ParseCommandLineOptions(argc, argv, "llvm extractor\n");
5555 sys::PrintStackTraceOnErrorSignal();
5656
5757 std::auto_ptr M;
468468 progname = sys::Path(argv[0]).getBasename();
469469
470470 // Parse the command line options
471 cl::ParseCommandLineOptions(argc, argv, " llvm linker\n");
471 cl::ParseCommandLineOptions(argc, argv, "llvm linker\n");
472472 sys::PrintStackTraceOnErrorSignal();
473473
474474 // Construct a Linker (now that Verbose is set)
7878
7979 int main(int argc, char **argv) {
8080 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
81 cl::ParseCommandLineOptions(argc, argv, " llvm linker\n");
81 cl::ParseCommandLineOptions(argc, argv, "llvm linker\n");
8282 sys::PrintStackTraceOnErrorSignal();
8383 assert(InputFilenames.size() > 0 && "OneOrMore is not working");
8484
164164
165165 int main(int argc, char **argv) {
166166 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
167 cl::ParseCommandLineOptions(argc, argv, " llvm symbol table dumper\n");
167 cl::ParseCommandLineOptions(argc, argv, "llvm symbol table dumper\n");
168168 sys::PrintStackTraceOnErrorSignal();
169169
170170 ToolName = argv[0];
111111 int main(int argc, char **argv) {
112112 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
113113 try {
114 cl::ParseCommandLineOptions(argc, argv, " llvm profile dump decoder\n");
114 cl::ParseCommandLineOptions(argc, argv, "llvm profile dump decoder\n");
115115 sys::PrintStackTraceOnErrorSignal();
116116
117117 // Read in the bitcode file...
4646 // Have the command line options parsed and handle things
4747 // like --help and --version.
4848 cl::ParseCommandLineOptions(argc, argv,
49 " LLVM Archive Index Generator (llvm-ranlib)\n\n"
49 "LLVM Archive Index Generator (llvm-ranlib)\n\n"
5050 " This program adds or updates an index of bitcode symbols\n"
5151 " to an LLVM archive file."
5252 );
5050
5151 int main(int argc, char **argv) {
5252 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
53 cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .bc assembler\n");
53 cl::ParseCommandLineOptions(argc, argv, "llvm .ll -> .bc assembler\n");
5454 sys::PrintStackTraceOnErrorSignal();
5555
5656 int exitCode = 0;
4242
4343 int main(int argc, char **argv) {
4444 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
45 cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .cpp assembler\n");
45 cl::ParseCommandLineOptions(argc, argv, "llvm .ll -> .cpp assembler\n");
4646 sys::PrintStackTraceOnErrorSignal();
4747
4848 int exitCode = 0;
256256
257257 // Parse the command line options
258258 cl::ParseCommandLineOptions(argc, argv,
259 " LLVM Compiler Driver (llvmc)\n\n"
259 "LLVM Compiler Driver (llvmc)\n\n"
260260 " This program provides easy invocation of the LLVM tool set\n"
261261 " and other compiler tools.\n"
262262 );
307307 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
308308 try {
309309 cl::ParseCommandLineOptions(argc, argv,
310 " llvm .bc -> .bc modular optimizer and analysis printer \n");
310 "llvm .bc -> .bc modular optimizer and analysis printer\n");
311311 sys::PrintStackTraceOnErrorSignal();
312312
313313 // Allocate a full target machine description only if necessary.