testusb: expose looping forever option "l" to user
authorDu, ChangbinX <changbinx.du@intel.com>
Wed, 23 May 2012 02:43:05 +0000 (02:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jun 2012 23:15:03 +0000 (16:15 -0700)
commit7e54e97812ccf59e71e002f9bd6d12bf4ab448b8
treef1c315eeb2b879480725d5be37ff27bab3beaf0a
parente714fad054e219b52eee17591d95d725888a95c4
testusb: expose looping forever option "l" to user

The testusb.c tool has support for looping forever implemented, which
may be useful for stress test, yet it is not exposed to the user, so
even though the code is there, it cannot be used.  This commit adds
"l" to the set of options handled by the application which enables
the feature.

Also, I collate help information for each command line option to make
it easier to use for novice.

Signed-off-by: Du Changbin <changbinx.du@intel.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/usb/testusb.c