From 66c7207477210c663aa42af037484aff8fceab63 Mon Sep 17 00:00:00 2001 From: "scherkus@chromium.org" Date: Wed, 25 Nov 2009 22:56:42 +0000 Subject: 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 --- media/tools/media_bench/media_bench.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media/tools/media_bench') 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 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 " -- cgit v1.1