[Powertop] [CLI fixes 5/5] Fix spelling of default names to match manpage.
Joerg Mayer <jmpt at loplof.de> Fri, 24 Aug 2012 00:11:39 +0200
| Newsgroups | dev.linux.lists.powertop |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Joerg Mayer <jmpt(a)loplof.de> diff --git a/src/main.cpp b/src/main.cpp index 80d7597..bdb87cc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -371,7 +371,7 @@ int main(int argc, char **argv) case 'h': /* html report */ wantreport = true; reporttype = 1; - sprintf(filename, "%s", optarg ? optarg : "PowerTOP.html" ); + sprintf(filename, "%s", optarg ? optarg : "powertop.html" ); break; case 't': @@ -392,7 +392,7 @@ int main(int argc, char **argv) case 'C': /* csv report*/ wantreport = true; reporttype = 0; - sprintf(filename, "%s", optarg ? optarg : "PowerTOP.csv"); + sprintf(filename, "%s", optarg ? optarg : "powertop.csv"); break; case '?': /* Unknown option */ /* getopt_long already printed an error message. */ -- 1.7.7