From ba8130e69f84159c2bc583ff4abaa27f1b887b36 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Sun, 17 Dec 2023 17:31:21 +0100 Subject: [PATCH] tools/zep_dispatch: topogen: add help text --- dist/tools/zep_dispatch/topogen.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dist/tools/zep_dispatch/topogen.c b/dist/tools/zep_dispatch/topogen.c index 52b6df5d20..b5a01b4ee4 100644 --- a/dist/tools/zep_dispatch/topogen.c +++ b/dist/tools/zep_dispatch/topogen.c @@ -230,8 +230,18 @@ static void _print_help(const char *name) " [-r ]" " [-v ]" " [-n ]" - " [-b]" + " [-b][-g]" "\n", name); + + puts("\nOptions:"); + puts("\t-s \trandom seed used for topology generation"); + puts("\t-w \twidth of the 2D topology"); + puts("\t-h \theight of the 2D topology"); + puts("\t-r \tRadio range of the nodes"); + puts("\t-v \tmaximal random variance of radio range"); + puts("\t-n \tnumber of nodes in the topology"); + puts("\t-b\t\tbinary links: link quality is rounded to 100% or 0%"); + puts("\t-g\t\tnodes are organized as a grid"); } int main(int argc, char** argv)