fping
fping copied to clipboard
[RFC] compatibility issue with stdout stderr
#184 #188 I think we should to break the compatibility of some programmes that uses a design "error", where all of the output send to stderr instead of stdout.
We can do this over period to allow migration to what is expected, for new users and programmers, to be inline with standard practises.
I think we can do the following:
- Add a new flag for output to stdout (
--stdoutor--new)and stderr (--stderror--old), and add a warning to stderr that it will changed, in sometime. and warning to stdout about some of the output is not print to stdout without--stdoutflag. - change the default to
--stdout. - delete the old
--stderr
I am against breaking backwards compatibility, even with a transition effort. I think the pain is not worth the effort.
I think we should start with adding a option to use stdout, and info about the unusual output is done. so novice fping users know that there is unusual thing with fping.