diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 21:46:32 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 21:46:32 +0000 |
commit | 62b4e52857f1fc8c0e26be90bc5e770e65f12aec (patch) | |
tree | 9101c313ebb60fda88a18f2aac014007011385dd /net | |
parent | 36717d9b4e6ac635fe762ae9974fd57538df2fa8 (diff) | |
download | chromium_src-62b4e52857f1fc8c0e26be90bc5e770e65f12aec.zip chromium_src-62b4e52857f1fc8c0e26be90bc5e770e65f12aec.tar.gz chromium_src-62b4e52857f1fc8c0e26be90bc5e770e65f12aec.tar.bz2 |
Nix CommandLine::GetSwitchCount.
BUG=73195
TEST=none
Review URL: http://codereview.chromium.org/7342024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92423 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/tools/testserver/run_testserver.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/tools/testserver/run_testserver.cc b/net/tools/testserver/run_testserver.cc index f9a70ba..00a765d 100644 --- a/net/tools/testserver/run_testserver.cc +++ b/net/tools/testserver/run_testserver.cc @@ -38,8 +38,7 @@ int main(int argc, const char* argv[]) { TestTimeouts::Initialize(); - if (command_line->GetSwitchCount() == 0 || - command_line->HasSwitch("help")) { + if (command_line->GetSwitches().empty() || command_line->HasSwitch("help")) { PrintUsage(); return -1; } |