From 23bf23582f1745ff1e273bb7935d0ded0dd3013b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 19 Nov 2015 03:39:19 +0100 Subject: pcitool help formating --- pcitool/cli.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'pcitool') 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 [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 - Read Data/Register/Property\n" " -w - Write Data/Register/Property\n" " --benchmark - 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 /view[:unit] - Read register view\n" -" -w /view[:unit] - Write register view\n" -" -r /unit - Read register, detect view based on unit\n" -" -w /unit - Write register, detect view based on unt\n" -" -r [:unit] - Read property\n" -" -w [:unit] - Write property\n" -" -r @attr - Read register/property attribute\n" +" -r /view[:unit] - Read register view\n" +" -w /view[:unit] - Write register view\n" +" -r /unit - Read register, detect view based on unit\n" +" -w /unit - Write register, detect view based on unt\n" +" -r [:unit] - Read property\n" +" -w [:unit] - Write property\n" +" -r @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 - Clean IRQ queue\n" " --wait-irq - Wait for IRQ\n" - +"\n" " DMA Modes:\n" " --start-dma [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 - Obtain persistent lock\n" -" --unlock - Release persistent lock\n" +" --unlock - Release persistent lock\n" "\n" " Addressing:\n" " -d - FPGA device (/dev/fpga0)\n" -- cgit v1.2.3