mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
tape390_display: Direct --help output to stdout
tape390_display writes output for --help to stderr. To be consistent with other s390-tools and GNU coding guide lines, fix this by using stdout for tool-generated usage help. Reviewed-by: Jens Remus <jremus@linux.ibm.com> Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
257490366b
commit
0eba8d11df
@@ -174,7 +174,7 @@ int main(int argc, char *argv[]) {
|
||||
) {
|
||||
switch(c) {
|
||||
case 'h':
|
||||
fprintf(stderr, "%s", help_text);
|
||||
fprintf(stdout, "%s", help_text);
|
||||
exit(0);
|
||||
case 'b':
|
||||
ds.cntrl.blink = 1;
|
||||
|
||||
Reference in New Issue
Block a user