From a15e91379ed25ae6cd2b0f86273838fd81355f73 Mon Sep 17 00:00:00 2001 From: bebopagogo Date: Wed, 31 May 2023 19:56:18 -0400 Subject: [PATCH] added examples/chant.cpp for simple command-line NORM chat app --- examples/chant.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/chant.cpp b/examples/chant.cpp index 82d58dc..d009500 100755 --- a/examples/chant.cpp +++ b/examples/chant.cpp @@ -881,16 +881,15 @@ void ChantCommand::HandleNormEvent(const NormEvent& event) void Usage() { - fprintf(stderr, "Usage: chant [name ][id ][addr [/]]\n" - " [interface ] [loopback] [info]\n" + fprintf(stderr, "Usage: chant [name ][addr [/]]\n" + " [interface ] [loopback]\n" " [cc|cce|ccl|rate ]\n" " [ack _auto_|[,,...]]\n" - " [flush {none|passive|active}]\n" + " [id ][flush {none|passive|active}]\n" " [boost] [debug ] [trace]\n" " [log ] [segment ] [block ]\n" " [parity ] [auto ]\n" - " [streambuffer ][silent]\n" - " [txloss ] [rxloss ]\n"); + " [streambuffer ][silent]\n"); } // end Usage() void PrintHelp()