diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-11-19 03:39:19 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-11-19 03:39:19 +0100 |
commit | 23bf23582f1745ff1e273bb7935d0ded0dd3013b (patch) | |
tree | d1866eabab9b29d9414e7689e0e7fd4123706278 | |
parent | 6191a86bf2de5413cc9100e1450b541e5dfcb8f9 (diff) | |
download | pcitool-23bf23582f1745ff1e273bb7935d0ded0dd3013b.tar.gz pcitool-23bf23582f1745ff1e273bb7935d0ded0dd3013b.tar.bz2 pcitool-23bf23582f1745ff1e273bb7935d0ded0dd3013b.tar.xz pcitool-23bf23582f1745ff1e273bb7935d0ded0dd3013b.zip |
pcitool help formating
-rw-r--r-- | pcitool/cli.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/pcitool/cli.c b/pcitool/cli.c index dbc7f47..b54ba9d 100644 --- a/pcitool/cli.c +++ b/pcitool/cli.c @@ -272,7 +272,7 @@ void Usage(int argc, char *argv[], const char *format, ...) { " %s <mode> [options] [hex data]\n" " Modes:\n" " -i [target] - Device or Register (target) Info\n" -" -l[l] [bank|/branch] - List (detailed) Data Banks & Registers\n" +" -l[l] [bank|/branch] - List (detailed) Data Banks & Registers\n" " -r <addr|dmaX|reg|prop> - Read Data/Register/Property\n" " -w <addr|dmaX|reg|prop> - Write Data/Register/Property\n" " --benchmark <barX|dmaX> - Performance Evaluation\n" @@ -281,13 +281,13 @@ void Usage(int argc, char *argv[], const char *format, ...) { " --help - Help message\n" "\n" " Property/Register Modes:\n" -" -r <reg>/view[:unit] - Read register view\n" -" -w <reg>/view[:unit] - Write register view\n" -" -r <reg>/unit - Read register, detect view based on unit\n" -" -w <reg>/unit - Write register, detect view based on unt\n" -" -r <prop>[:unit] - Read property\n" -" -w <prop>[:unit] - Write property\n" -" -r <prop|reg>@attr - Read register/property attribute\n" +" -r <reg>/view[:unit] - Read register view\n" +" -w <reg>/view[:unit] - Write register view\n" +" -r <reg>/unit - Read register, detect view based on unit\n" +" -w <reg>/unit - Write register, detect view based on unt\n" +" -r <prop>[:unit] - Read property\n" +" -w <prop>[:unit] - Write property\n" +" -r <prop|reg>@attr - Read register/property attribute\n" "\n" " Event Modes:\n" " --trigger [event] - Trigger Events\n" @@ -295,10 +295,10 @@ void Usage(int argc, char *argv[], const char *format, ...) { "\n" " IRQ Modes:\n" " --enable-irq [type] - Enable IRQs\n" -" --disable-irq [type] - Disable IRQs\n" +" --disable-irq [type] - Disable IRQs\n" " --acknowledge-irq <source> - Clean IRQ queue\n" " --wait-irq <source> - Wait for IRQ\n" - +"\n" " DMA Modes:\n" " --start-dma <num>[r|w] - Start specified DMA engine\n" " --stop-dma [num[r|w]] - Stop specified engine or DMA subsystem\n" @@ -319,10 +319,10 @@ void Usage(int argc, char *argv[], const char *format, ...) { " dma - Remove all buffers allocated by DMA subsystem\n" " #number - Remove all buffers with the specified use id\n" "\n" -" --list-locks - List all registered locks\n" -" --free-locks - Destroy all locks (DANGEROUS)\n" +" --list-locks - List all registered locks\n" +" --free-locks - Destroy all locks (DANGEROUS)\n" " --lock <lock name> - Obtain persistent lock\n" -" --unlock <lock name> - Release persistent lock\n" +" --unlock <lock name> - Release persistent lock\n" "\n" " Addressing:\n" " -d <device> - FPGA device (/dev/fpga0)\n" |