fprintf(stderr,"%s: Use \"%s [-V] [-d <dev>] [<opts>]\n",
fprintf(stderr,"%s: Use \"%s [-V] [-d <dev>] [<opts>]\n",
name,name);
name,name);
fprintf(stderr," options:\n"
fprintf(stderr," options:\n"
" -d <dev> device ID (hexadecimal)\n"
"Configuration:\n"
" -e (0|1) disable or enable the channel\n"
" -t (0|1) disable or enable pulse timestamping\n"
"Timestamp:"
" -c <count> default is 0 and means forever\n"
" -c <count> default is 0 and means forever\n"
" -n nonblocking: only empty buffer\n"
" -n nonblocking: only empty buffer\n"
" -r raw mode: show hex timestamps\n"
" -r raw mode: show hex timestamps\n"
" -f floating point (default): sec.nsec\n");
" -f floating point (default): sec.nsec\n");
fprintf(stderr,"Note that the tool does not enforce any default configuration. Therefore, if not explicitly set, it will continue by using the current configuration.\n");
exit(1);
exit(1);
}
}
...
@@ -35,16 +42,106 @@ void dump_input(struct fdelay_time *t, int np, int umode)
...
@@ -35,16 +42,106 @@ void dump_input(struct fdelay_time *t, int np, int umode)