Skip to content

Commit

Permalink
Move the space in overview output for commands out of each of the
Browse files Browse the repository at this point in the history
commands and into the common code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42752 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Dan Gohman committed Oct 8, 2007
1 parent 8e41ed7 commit 82a13c9
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion lib/Support/CommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ class HelpPrinter {
}

if (ProgramOverview)
cout << "OVERVIEW:" << ProgramOverview << "\n";
cout << "OVERVIEW: " << ProgramOverview << "\n";

cout << "USAGE: " << ProgramName << " [options]";

Expand Down
2 changes: 1 addition & 1 deletion tools/bugpoint/bugpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ static void BugpointInterruptFunction() {
int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv,
" LLVM automatic testcase reducer. See\nhttp://"
"LLVM automatic testcase reducer. See\nhttp://"
"llvm.org/docs/CommandGuide/bugpoint.html"
" for more information.\n");
sys::PrintStackTraceOnErrorSignal();
Expand Down
2 changes: 1 addition & 1 deletion tools/llc/llc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ static std::ostream *GetOutputStream(const char *ProgName) {
//
int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv, " llvm system compiler\n");
cl::ParseCommandLineOptions(argc, argv, "llvm system compiler\n");
sys::PrintStackTraceOnErrorSignal();

// Load the module to be compiled...
Expand Down
2 changes: 1 addition & 1 deletion tools/lli/lli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static void do_shutdown() {
int main(int argc, char **argv, char * const *envp) {
atexit(do_shutdown); // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv,
" llvm interpreter & dynamic compiler\n");
"llvm interpreter & dynamic compiler\n");
sys::PrintStackTraceOnErrorSignal();

// If the user doesn't want core files, disable them.
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-ar/llvm-ar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ int main(int argc, char **argv) {
// Have the command line options parsed and handle things
// like --help and --version.
cl::ParseCommandLineOptions(argc, argv,
" LLVM Archiver (llvm-ar)\n\n"
"LLVM Archiver (llvm-ar)\n\n"
" This program archives bitcode files into single libraries\n"
);

Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-as/llvm-as.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ DisableVerify("disable-verify", cl::Hidden,

int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .bc assembler\n");
cl::ParseCommandLineOptions(argc, argv, "llvm .ll -> .bc assembler\n");
sys::PrintStackTraceOnErrorSignal();

int exitCode = 0;
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ static int AnalyzeBitcode() {

int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv, " llvm-bcanalyzer file analyzer\n");
cl::ParseCommandLineOptions(argc, argv, "llvm-bcanalyzer file analyzer\n");

sys::PrintStackTraceOnErrorSignal();

Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-db/llvm-db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ int main(int argc, char **argv, char * const *envp) {
std::cout << "NOTE: llvm-db is known useless right now.\n";
try {
cl::ParseCommandLineOptions(argc, argv,
" llvm source-level debugger\n");
"llvm source-level debugger\n");
sys::PrintStackTraceOnErrorSignal();

if (!Quiet)
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-dis/llvm-dis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ DontPrint("disable-output", cl::desc("Don't output the .ll file"), cl::Hidden);
int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
try {
cl::ParseCommandLineOptions(argc, argv, " llvm .bc -> .ll disassembler\n");
cl::ParseCommandLineOptions(argc, argv, "llvm .bc -> .ll disassembler\n");
sys::PrintStackTraceOnErrorSignal();

std::ostream *Out = &std::cout; // Default to printing to stdout.
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-extract/llvm-extract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ExtractFunc("func", cl::desc("Specify function to extract"), cl::init("main"),

int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv, " llvm extractor\n");
cl::ParseCommandLineOptions(argc, argv, "llvm extractor\n");
sys::PrintStackTraceOnErrorSignal();

std::auto_ptr<Module> M;
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-ld/llvm-ld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ int main(int argc, char **argv, char **envp) {
progname = sys::Path(argv[0]).getBasename();

// Parse the command line options
cl::ParseCommandLineOptions(argc, argv, " llvm linker\n");
cl::ParseCommandLineOptions(argc, argv, "llvm linker\n");
sys::PrintStackTraceOnErrorSignal();

// Construct a Linker (now that Verbose is set)
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-link/llvm-link.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static inline std::auto_ptr<Module> LoadFile(const std::string &FN) {

int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv, " llvm linker\n");
cl::ParseCommandLineOptions(argc, argv, "llvm linker\n");
sys::PrintStackTraceOnErrorSignal();
assert(InputFilenames.size() > 0 && "OneOrMore is not working");

Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-nm/llvm-nm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static void DumpSymbolNamesFromFile(std::string &Filename) {

int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv, " llvm symbol table dumper\n");
cl::ParseCommandLineOptions(argc, argv, "llvm symbol table dumper\n");
sys::PrintStackTraceOnErrorSignal();

ToolName = argv[0];
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-prof/llvm-prof.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ namespace {
int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
try {
cl::ParseCommandLineOptions(argc, argv, " llvm profile dump decoder\n");
cl::ParseCommandLineOptions(argc, argv, "llvm profile dump decoder\n");
sys::PrintStackTraceOnErrorSignal();

// Read in the bitcode file...
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-ranlib/llvm-ranlib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ int main(int argc, char **argv) {
// Have the command line options parsed and handle things
// like --help and --version.
cl::ParseCommandLineOptions(argc, argv,
" LLVM Archive Index Generator (llvm-ranlib)\n\n"
"LLVM Archive Index Generator (llvm-ranlib)\n\n"
" This program adds or updates an index of bitcode symbols\n"
" to an LLVM archive file."
);
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-upgrade/llvm-upgrade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Debug("debug-upgrade-yacc", cl::desc("Print debug output from yacc parser"),

int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .bc assembler\n");
cl::ParseCommandLineOptions(argc, argv, "llvm .ll -> .bc assembler\n");
sys::PrintStackTraceOnErrorSignal();

int exitCode = 0;
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm2cpp/llvm2cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Force("f", cl::desc("Overwrite output files"));

int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .cpp assembler\n");
cl::ParseCommandLineOptions(argc, argv, "llvm .ll -> .cpp assembler\n");
sys::PrintStackTraceOnErrorSignal();

int exitCode = 0;
Expand Down
2 changes: 1 addition & 1 deletion tools/llvmc/llvmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ int main(int argc, char **argv) {

// Parse the command line options
cl::ParseCommandLineOptions(argc, argv,
" LLVM Compiler Driver (llvmc)\n\n"
"LLVM Compiler Driver (llvmc)\n\n"
" This program provides easy invocation of the LLVM tool set\n"
" and other compiler tools.\n"
);
Expand Down
2 changes: 1 addition & 1 deletion tools/opt/opt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ int main(int argc, char **argv) {
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
try {
cl::ParseCommandLineOptions(argc, argv,
" llvm .bc -> .bc modular optimizer and analysis printer \n");
"llvm .bc -> .bc modular optimizer and analysis printer\n");
sys::PrintStackTraceOnErrorSignal();

// Allocate a full target machine description only if necessary.
Expand Down

0 comments on commit 82a13c9

Please sign in to comment.