summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_dll_main.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 20:40:59 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 20:40:59 +0000
commit64fc2700e520905b170fe6f7576795aed63648f4 (patch)
tree52f76b7226f0c535e4350e0c1ca125858621a9e3 /chrome/app/chrome_dll_main.cc
parentc1dc5632a7780ae5fcc846ff76d6a9e60ad90182 (diff)
downloadchromium_src-64fc2700e520905b170fe6f7576795aed63648f4.zip
chromium_src-64fc2700e520905b170fe6f7576795aed63648f4.tar.gz
chromium_src-64fc2700e520905b170fe6f7576795aed63648f4.tar.bz2
Command line flag cleanup.
Move some string literals into chrome/common/chrome_switches. There are still many uses in places that cannot depend on chrome/common. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/2824008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r--chrome/app/chrome_dll_main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index 7ff3f14..c51ac67 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";