./ns3 run -h does not show how to give program args
./ns3 run foo -- args
will pass args
to foo
, but this is not indicated in the help for run:
./ns3 run -h
usage: ns3 run [-h] [--no-build] [--command-template COMMAND_TEMPLATE]
[--cwd CWD] [--gdb] [--lldb] [--valgrind] [--vis]
[--enable-sudo] [--dry-run] [-j RUN_JOBS] [--quiet] [-v]
run
positional arguments:
run Build and run executable. If --no-build is present,
build step is skipped.
options:
-h, --help show this help message and exit
--no-build Skip build step.
--command-template COMMAND_TEMPLATE
Template of the command used to run the program given
by run; It should be a shell command string containing
%s inside, which will be replaced by the actual
program.
--cwd CWD Set the working directory for a program.
--gdb Change the default command template to run programs
with gdb
--lldb Change the default command template to run programs
with lldb
--valgrind Change the default command template to run programs
with valgrind
--vis, --visualize Modify --run arguments to enable the visualizer
--enable-sudo Use sudo to setup suid bits on ns3 executables.
--dry-run Do not execute the commands.
-j RUN_JOBS, --jobs RUN_JOBS
Set number of parallel jobs.
--quiet Don't print task lines, i.e. messages saying which
tasks are being executed.
-v, --verbose Print which commands were executed