Executable options doesn't complain about some bad options

Issue #106 resolved
Laurie Nevay created an issue

The following command line will be accepted without error by bdsim but the outputfile is not parsed correctly and produces an unexpected output file name. Note no space between arguments. First argument is parsed correctly (ngenerate) but outfile is not.

bdsim --file=fieldtest.gmad --ngenerate=1--outfile=t2

Comments (2)

  1. Jochem Snuverink

    this is fixed and the program exits. number input checking is more rigorous now. Also things like ngenerate=1.3 are not allowed anymore (only integers).

  2. Log in to comment