diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-25 22:56:42 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-25 22:56:42 +0000 |
commit | 66c7207477210c663aa42af037484aff8fceab63 (patch) | |
tree | 3518f79b4e518e4524153e5dfb2bc553ebe0da2c /media/omx | |
parent | fe989f1881aad3beb18ed86b18f8cb19a11910ea (diff) | |
download | chromium_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/omx')
-rw-r--r-- | media/omx/omx_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/omx/omx_test.cc b/media/omx/omx_test.cc index 54ff63c..3b8b22e 100644 --- a/media/omx/omx_test.cc +++ b/media/omx/omx_test.cc @@ -130,7 +130,8 @@ int main(int argc, char** argv) { const CommandLine* cmd_line = CommandLine::ForCurrentProcess(); if (argc < 2) { - printf("Usage: omx_test --file=FILE --component=COMPONENT --codec=CODEC\n"); + printf("Usage: %s --file=FILE --component=COMPONENT --codec=CODEC\n", + argv[0]); printf(" COMPONENT: OpenMAX component name\n"); printf(" CODEC: h264/mpeg4/h263/vc1\n"); return 1; |