summaryrefslogtreecommitdiffstats
path: root/base/command_line.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/command_line.cc')
-rw-r--r--base/command_line.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/command_line.cc b/base/command_line.cc
index ff89e1a..8121aca 100644
--- a/base/command_line.cc
+++ b/base/command_line.cc
@@ -336,7 +336,7 @@ void CommandLine::CopySwitchesFrom(const CommandLine& source,
}
}
-CommandLine::StringVector CommandLine::args() const {
+CommandLine::StringVector CommandLine::GetArgs() const {
// Gather all arguments after the last switch (may include kSwitchTerminator).
StringVector args(argv_.begin() + begin_args_, argv_.end());
// Erase only the first kSwitchTerminator (maybe "--" is a legitimate page?)