Running the script without options doesn't complete.

Issue #6 resolved
Former user created an issue

Running the interpreter, both 5.1 and 5.2 under Kubuntu 12.10 (x64) fails to return successfully with the following stack trace:

lua5.1: ./modules/CmdLineOptions.lua:286:
stack traceback:
[C]: in function 'error'
    ./modules/CmdLineOptions.lua:286: in function 'AssertParse'
    ./modules/CmdLineOptions.lua:311: in function 'ProcessCmdLine'
    ./modules/GetOptions.lua:144: in function 'GetOptions'
    LoadGen.lua:19: in main chunk
[C]: ?

Comments (8)

  1. Jason McKesson repo owner

    I'll look into cleaning up the error message, so that it doesn't pointlessly provide the call stack (and thus look like a script error rather than a user-error). But providing no command line options is not supported; you have to at least provide a version (since the default spec is gl) and an output file.

  2. Jason McKesson repo owner

    Error handling for malformed command-lines should be better in 878efa8. Also, the Wiki pages have been updated, which are much more complete.

  3. Log in to comment