From 110079391ecd60d2eb4c98fab5715e9b4d2e2619 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Mon, 22 Feb 2021 14:07:18 +0100 Subject: [PATCH] add mode description to help text --- libtrbnet/trbcmd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libtrbnet/trbcmd.c b/libtrbnet/trbcmd.c index adc89f0..7921768 100644 --- a/libtrbnet/trbcmd.c +++ b/libtrbnet/trbcmd.c @@ -122,7 +122,11 @@ void usage(const char *progName) fprintf(stdout, " w -> " "write register\n"); fprintf(stdout, " rm -> " - "read register-memory\n"); + "read register-memory\n" + " " + "mode 0: consecutive addresses\n" + " " + "mode 1: repeat same address\n"); fprintf(stdout, " rmt -> " "read register-memory&\n" " " -- 2.43.0