Many tools do not fail when supplied with an unsupported option
Steps to reproduce
E.g. edgepaint -Q
Expected Behaviour
An error message and exit with non-zero status.
Actual Behaviour
option -Q unrecognized - ignored
The edgepaint program still runs and waits for input from stdin. If some garbage is entered, it (correctly) prints an error message:
yada yada
Error: <stdin>: syntax error in line 1 near 'yada'
This was just to shown the program is still running.
OS Version
All OSs, but this was tested on Ubuntu 18.04.
Graphviz Version
dot - graphviz version 2.44.2~dev.20200928.0851 (20200928.0851)
Built from master at 3dd18524 with local modifications.
Additional info
Similar behavior is shown by:
- bcomps
- ccomps
- cluster
- edgepaint
- gc
- gvcolor
- gvmap
- gvmap.sh
- gvpack
- nop
- sccmap
- tred