Contenu | Menu
kernel

mwplight now has an official command-line syntax, shown with mwplight -h or when the command-line parameters dont fit the requirements.

Usage: mwplight [options] filename
Options:
  -a, --afile file    name of the A-file (main function of the run-time)
  -m, --mfile file    name of the M-file (source of the modified module)
  -t, --tfile file    name of the T-file (source of the module documentation)
  -i, --ifile file    name of the I-file (interface file for an interpretor)
  -n, --nfile file    name of the N-file (group and name of the module)
  -g, --group group   group the module belongs to (defaults to "unknown")
  -v, --version       print version information
  -d, --debug         debug flag
  -h, -?, --help      print usage help

  -a and -m options and the filename are required.

And no more environment variable is needed.