Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Unified Diff: chrome/app/chrome_dll_main.cc

Issue 2824008: Command line flag cleanup. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: copyright years Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/candidate_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_dll_main.cc
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index 7ff3f14e0bd11ec7d1a3f6d1196e115e95d0499c..c51ac6758eefb79eafa5e6a19f52b6916a5bcd2e 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -527,8 +527,8 @@ int ChromeMain(int argc, char** argv) {
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
// Show the man page on --help or -h.
- if (parsed_command_line.HasSwitch("help") ||
- parsed_command_line.HasSwitch("h")) {
+ if (parsed_command_line.HasSwitch(switches::kHelp) ||
+ parsed_command_line.HasSwitch(switches::kHelpShort)) {
FilePath binary(parsed_command_line.argv()[0]);
execlp("man", "man", binary.BaseName().value().c_str(), NULL);
PLOG(FATAL) << "execlp failed";
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/candidate_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698