summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@iss-tomyspiel-1>2011-10-21 02:40:05 +0200
committerroot <root@iss-tomyspiel-1>2011-10-21 02:40:05 +0200
commitb407c19d68509af786ed13fb22e66bebbf73c0d8 (patch)
treeeaf5c5aaf3833da405b884b98ae6edc53e6826d3
parent33fb2003ef2e359f472dc153a7c2e700cdff2922 (diff)
downloadpcitool-b407c19d68509af786ed13fb22e66bebbf73c0d8.tar.gz
pcitool-b407c19d68509af786ed13fb22e66bebbf73c0d8.tar.bz2
pcitool-b407c19d68509af786ed13fb22e66bebbf73c0d8.tar.xz
pcitool-b407c19d68509af786ed13fb22e66bebbf73c0d8.zip
Remove short option for benchmark in cli
-rw-r--r--cli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli.c b/cli.c
index ea8325c..308092d 100644
--- a/cli.c
+++ b/cli.c
@@ -81,12 +81,12 @@ typedef enum {
OPT_TIMEOUT = 't',
OPT_INFO = 'i',
OPT_LIST = 'l',
- OPT_BENCHMARK = 'p',
OPT_READ = 'r',
OPT_WRITE = 'w',
OPT_GRAB = 'g',
OPT_QUIETE = 'q',
OPT_RESET = 128,
+ OPT_BENCHMARK,
OPT_START_DMA,
OPT_STOP_DMA,
OPT_WAIT_IRQ,
@@ -148,10 +148,10 @@ void Usage(int argc, char *argv[], const char *format, ...) {
" Modes:\n"
" -i - Device Info\n"
" -l[l] - List (detailed) Data Banks & Registers\n"
-" -p <barX|dmaX> - Performance Evaluation\n"
" -r <addr|reg|dmaX> - Read Data/Register\n"
" -w <addr|reg|dmaX> - Write Data/Register\n"
" -g [event] - Grab Event\n"
+" --benchmark <barX|dmaX> - Performance Evaluation\n"
" --reset - Reset board\n"
" --help - Help message\n"
"\n"
@@ -1244,7 +1244,7 @@ int main(int argc, char **argv) {
int size_set = 0;
- while ((c = getopt_long(argc, argv, "hqilpr::w::g::d:m:t:b:a:s:e:o:", long_options, NULL)) != (unsigned char)-1) {
+ while ((c = getopt_long(argc, argv, "hqilr::w::g::d:m:t:b:a:s:e:o:", long_options, NULL)) != (unsigned char)-1) {
extern int optind;
switch (c) {
case OPT_HELP: