dia --version (return code: 0)
Dia version 0.97+git, compiled 14:52:27 May 23 2017
dia --help (return code: 0)
Usage:
dia [OPTION?] [FILE...]
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gtk Show GTK+ Options
Application Options:
-e, --export=OUTPUT Export loaded file and exit
-t, --filter=TYPE Select the export filter/format
--list-filters List export filters/formats and exit
-s, --size=WxH Export graphics size
-L, --show-layers=LAYER,LAYER,... Show only specified layers (e.g. when exporting). Can be either the layer name or a range of layer numbers (X-Y)
-n, --nosplash Don't show the splash screen
--nonew Don't create an empty diagram
--classic Start classic user interface (no diagrams in tabs)
-l, --log-to-stderr Send error messages to stderr instead of showing dialogs.
-I, --input-directory=DIRECTORY Directory containing input files
-O, --output-directory=DIRECTORY Directory containing output files
-c, --credits Display credits list and exit
--verbose Generate verbose output
-v, --version Display version and exit
--display=DISPLAY X display to use