I don't think this is quite right. If a switch is added in the future, and a program will try to use that switch, but the D-Scanner version will not have that switch yet, then this will send the help text to the program invoking D-Scanner. It will then try to parse the help text as if it was D-Scanner output.
Generally, messages intended for humans go to stderr, and messages for consumers of program output go to stdout.
If help text is requested specifically (e.g. via --help), then help text can be sent to stdout, but only then.
I don't think this is quite right. If a switch is added in the future, and a program will try to use that switch, but the D-Scanner version will not have that switch yet, then this will send the help text to the program invoking D-Scanner. It will then try to parse the help text as if it was D-Scanner output.
Generally, messages intended for humans go to stderr, and messages for consumers of program output go to stdout.
If help text is requested specifically (e.g. via
--help
), then help text can be sent to stdout, but only then.