Skip to content

Commit ba8130e

Browse files
committed
tools/zep_dispatch: topogen: add help text
1 parent f7e6a4a commit ba8130e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

dist/tools/zep_dispatch/topogen.c

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,18 @@ static void _print_help(const char *name)
230230
" [-r <range>]"
231231
" [-v <variance of range>]"
232232
" [-n <nodes>]"
233-
" [-b]"
233+
" [-b][-g]"
234234
"\n", name);
235+
236+
puts("\nOptions:");
237+
puts("\t-s <seed>\trandom seed used for topology generation");
238+
puts("\t-w <width>\twidth of the 2D topology");
239+
puts("\t-h <height>\theight of the 2D topology");
240+
puts("\t-r <range>\tRadio range of the nodes");
241+
puts("\t-v <variance>\tmaximal random variance of radio range");
242+
puts("\t-n <nodes>\tnumber of nodes in the topology");
243+
puts("\t-b\t\tbinary links: link quality is rounded to 100% or 0%");
244+
puts("\t-g\t\tnodes are organized as a grid");
235245
}
236246

237247
int main(int argc, char** argv)

0 commit comments

Comments
 (0)