ns3 build script optional arguments

Presently, ./ns3 -h prints:

optional arguments:
  -h, --help            show this help message and exit
  -j JOBS, --jobs JOBS  Set number of parallel jobs
  --dry-run             Do not execute the commands
  --check-config        Print the current configuration.
  --quiet               Don't print task lines, i.e. messages saying which
                        tasks are being executed.
  --check               DEPRECATED (run ./test.py)
  --check-profile       Print out current build profile
  --check-version       Print the current build version

I would like to propose some changes:

  1. Move -j JOBS, --jobs JOBS to a build argument

  2. Move --dry-run to after all positional arguments, rather than before.

  3. Move --quiet to after configure, build, and docs positional argument (I don't think it is useful for other positional arguments).

  4. Delete --check. This deprecation is copied from Waf but this is from many years ago.

Assignee Loading
Time tracking Loading