simfactory --mdbkey syntax is horrible

Create issue
Issue #592 new
Roland Haas created an issue

apparently simfactory requires me to do:

sim --mdbkey=optionlist my-very-own-option-list --thornlist=einsteintoolkit.th to overwrite mdb entries from the command line (and --define --substitue --replace --append --mdbkey). I have to admit I would not have guessed that from the help text which states:

options: -h, --help show this help message and exit --define=DEFINE set additional definition --mdbkey=MDBKEY override an mdb key

I would like to suggest to either change the help text to

--mdbkey=MDBKEY MDBVALUE or to support something like

--mdbkey="MDBKEY=VALUE" with or without quotation marks instead maybe.

Is there a full documented list of valid mdb entries somewhere?

Keyword:

Comments (2)

  1. Ian Hinder
    • removed comment

    There is no such documentation at the moment. There is a file called simfactory/etc/syntax/mdb-syntax.ini which contains the information which is output with --help for the MDB entries. I think this is the place that these things should be documented, at least minimally. The command line options are documented in simfactory/etc/options, but this is a little confused at the moment and should be tidied up. The SimFactory user guide aims to parse these files and extract the documentation. This has been done for the command-line options but not for the MDB entries yet. See http://damiana2.aei.mpg.de/~ianhin/simfactoryuserguide/reference.html.

  2. Log in to comment