[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#40133: playmidi: print usage on stdout



Package: playmidi
Version: 2.4-4
Tags: patch


kind regards,
guillem


diff -Nurd playmidi-2.4/playmidi.c playmidi-2.4-patched/playmidi.c
--- playmidi-2.4/playmidi.c	Thu Jul 18 20:58:10 2002
+++ playmidi-2.4-patched/playmidi.c	Thu Jul 18 21:08:14 2002
@@ -403,8 +403,8 @@
 	}
 
     if (error || optind >= argc) {
-	fprintf(stderr, "usage: %s [-options] file1 [file2 ...]\n", argv[0]);
-	fprintf(stderr, "  -v       verbosity (additive)\n"
+	printf("usage: %s [-options] file1 [file2 ...]\n", argv[0]);
+	printf("  -v       verbosity (additive)\n"
 		"  -i x     ignore channels set in bitmask x (hex)\n"
 		"  -c x     play only channels set in bitmask x (hex)\n"
 		"  -x x     exclude channel x from playable bitmask\n"
diff -Nurd playmidi-2.4/toy.c playmidi-2.4-patched/toy.c
--- playmidi-2.4/toy.c	Sun May 11 23:44:01 1997
+++ playmidi-2.4-patched/toy.c	Thu Jul 18 21:07:00 2002
@@ -118,7 +118,7 @@
 	}
 
     if (error || argc - optind != 2) {
-	fprintf(stderr, "usage: %s [-t semitones]"
+	printf("usage: %s [-t semitones]"
 		" [-c channel] [-p program] [-wait] "
 		"inputfile.seq outputfile.seq\n", argv[0]);
 	exit(1);



-- 
To UNSUBSCRIBE, email to debian-qa-packages-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: