diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-07-23 20:22:30 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-07-23 20:22:30 +0000 |
| commit | d5c31333644644cfe14639d0a41874f3683dd646 (patch) | |
| tree | 5feb5804b471f5444dde4b3338c0e7504b1d794c | |
| parent | ab0cc40796935e2bfe02ed9b3e90a055a3780b87 (diff) | |
| download | bcm5719-llvm-d5c31333644644cfe14639d0a41874f3683dd646.tar.gz bcm5719-llvm-d5c31333644644cfe14639d0a41874f3683dd646.zip | |
Use the new Alias command line option
llvm-svn: 284
| -rw-r--r-- | llvm/tools/analyze/analyze.cpp | 3 | ||||
| -rw-r--r-- | llvm/tools/opt/opt.cpp | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/llvm/tools/analyze/analyze.cpp b/llvm/tools/analyze/analyze.cpp index 31639812488..6d35f3e085e 100644 --- a/llvm/tools/analyze/analyze.cpp +++ b/llvm/tools/analyze/analyze.cpp @@ -93,7 +93,8 @@ enum Ans { }; cl::String InputFilename ("", "Load <arg> file to analyze", cl::NoFlags, "-"); -cl::Flag Quiet ("q", "Don't print analysis pass names", 0, false); +cl::Flag Quiet ("q", "Don't print analysis pass names"); +cl::Alias QuietA ("quiet", "Alias for -q", cl::NoFlags, Quiet); cl::EnumList<enum Ans> AnalysesList(cl::NoFlags, clEnumVal(print , "Print each Method"), clEnumVal(intervals , "Print Interval Partitions"), diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp index 0dc94f5bdd8..7260adb62fc 100644 --- a/llvm/tools/opt/opt.cpp +++ b/llvm/tools/opt/opt.cpp @@ -53,10 +53,11 @@ struct { { raise , DoRaiseRepresentation }, }; -cl::String InputFilename ("", "Load <arg> file to optimize", 0, "-"); -cl::String OutputFilename("o", "Override output filename", 0, ""); -cl::Flag Force ("f", "Overwrite output files", 0, false); +cl::String InputFilename ("", "Load <arg> file to optimize", cl::NoFlags, "-"); +cl::String OutputFilename("o", "Override output filename", cl::NoFlags, ""); +cl::Flag Force ("f", "Overwrite output files", cl::NoFlags, false); cl::Flag Quiet ("q", "Don't print modifying pass names", 0, false); +cl::Alias QuietA ("quiet", "Alias for -q", cl::NoFlags, Quiet); cl::EnumList<enum Opts> OptimizationList(cl::NoFlags, clEnumVal(dce , "Dead Code Elimination"), clEnumVal(constprop, "Simple Constant Propogation"), |

