comedi_board_info: Clarify usage message
Put square brackets around "COMEDI_DEVICE" on the usage line to indicate that it is optional, and add a line to indicate that it defaults to "/dev/comedi0" if unspecified. Also change "1Ghz" to "1 GHz" in the description of the -F option.
This commit is contained in:
parent
8295ed72bb
commit
cbb8ca63c9
1 changed files with 4 additions and 3 deletions
|
@ -232,11 +232,12 @@ int main(int argc,char *argv[])
|
|||
case 'h':
|
||||
default:
|
||||
fprintf(stderr,
|
||||
"usage: comedi_board_info [OPTIONS] COMEDI_DEVICE\n"
|
||||
"usage: comedi_board_info [OPTIONS] [COMEDI_DEVICE]\n"
|
||||
" -n number of channels for async command (default 1)\n"
|
||||
" -F probing sampling rate for async command (default 1Ghz)\n"
|
||||
" -F probing sampling rate for async command (default 1 GHz)\n"
|
||||
" -v verbose output\n"
|
||||
" -h this help screen\n");
|
||||
" -h this help screen\n"
|
||||
"COMEDI_DEVICE defaults to /dev/comedi0 if unspecified\n");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue