summaryrefslogtreecommitdiffstats
path: root/media/tools/media_bench
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 22:56:42 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 22:56:42 +0000
commit66c7207477210c663aa42af037484aff8fceab63 (patch)
tree3518f79b4e518e4524153e5dfb2bc553ebe0da2c /media/tools/media_bench
parentfe989f1881aad3beb18ed86b18f8cb19a11910ea (diff)
downloadchromium_src-66c7207477210c663aa42af037484aff8fceab63.zip
chromium_src-66c7207477210c663aa42af037484aff8fceab63.tar.gz
chromium_src-66c7207477210c663aa42af037484aff8fceab63.tar.bz2
Use argv[0] to print out executable usage info for media tools.
BUG=n/a TESt=n/a Review URL: http://codereview.chromium.org/434101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/tools/media_bench')
-rw-r--r--media/tools/media_bench/media_bench.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/tools/media_bench/media_bench.cc b/media/tools/media_bench/media_bench.cc
index fffbaf3..1a18ec8 100644
--- a/media/tools/media_bench/media_bench.cc
+++ b/media/tools/media_bench/media_bench.cc
@@ -84,7 +84,7 @@ int main(int argc, const char** argv) {
std::vector<std::wstring> filenames(cmd_line->GetLooseValues());
if (filenames.empty()) {
- std::cerr << "Usage: media_bench [OPTIONS] FILE [DUMPFILE]\n"
+ std::cerr << "Usage: " << argv[0] << " [OPTIONS] FILE [DUMPFILE]\n"
<< " --stream=[audio|video] "
<< "Benchmark either the audio or video stream\n"
<< " --video-threads=N "