mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
cmsfs-fuse writes output for --help and --version to stderr. This is likely because cmsfs-fuse calls into a FUSE function for additional usage output that also writes to stderr (prior to FUSE 3.0.0). To be consistent with other s390-tools and GNU coding guide lines, fix this by using stdout for cmsfs-fuse generated output, and by redirecting stderr to stdout before calling the FUSE function. Also remove an inactive call to add FUSE version output on --version to be consistent with other FUSE-based s390-tools. Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>