Skip to content

Commit bafcddd

Browse files
iamjpndancrossnyc
authored andcommitted
B: Print usage message to stderr
B's usage message redirects its stderr to stdout instead of vice versa. Fix this. Signed-off-by: Jordan Niethe <[email protected]>
1 parent a20cff9 commit bafcddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/B

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515

1616
if [ $# -eq 0 ]
1717
then
18-
echo 'usage: B [+line] file...' 2>&1
18+
echo 'usage: B [+line] file...' 1>&2
1919
exit 1
2020
fi
2121

0 commit comments

Comments
 (0)