1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tools/zep_dispatch: topogen: add help text

This commit is contained in:
Benjamin Valentin 2023-12-17 17:31:21 +01:00
parent f7e6a4ada2
commit ba8130e69f

View File

@ -230,8 +230,18 @@ static void _print_help(const char *name)
" [-r <range>]"
" [-v <variance of range>]"
" [-n <nodes>]"
" [-b]"
" [-b][-g]"
"\n", name);
puts("\nOptions:");
puts("\t-s <seed>\trandom seed used for topology generation");
puts("\t-w <width>\twidth of the 2D topology");
puts("\t-h <height>\theight of the 2D topology");
puts("\t-r <range>\tRadio range of the nodes");
puts("\t-v <variance>\tmaximal random variance of radio range");
puts("\t-n <nodes>\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)