Opened 17 years ago

Closed 17 years ago

#10 closed defect (fixed)

Make "no X-windows output" a command line flag

Reported by: Matthew Whiting Owned by: Matthew Whiting
Priority: normal Milestone:
Component: Input Version: 1.0.7
Severity: normal Keywords:
Cc:

Description

It would be good to introduce a command line flag that indicates we don't want to have X-windows output. This would be an alternative to using the parameter in the input parameter file (in the case where we are too lazy or something to edit the param file...).

This way we could have something like Duchamp -nox -p input

Change History (1)

comment:1 Changed 17 years ago by Matthew Whiting

Resolution: fixed
Status: newclosed

I have added a -x flag, which is equivalent to setting flagXOutput = false, and also overrides the setting in the parameter file (and in the default setup). If the user just does, eg Duchamp -x , then it gives an error message and writes the help message to the screen.

Note: See TracTickets for help on using tickets.