aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Niethe <jniethe5@gmail.com>2025-09-06 17:16:36 +1000
committerDan Cross <crossd@gmail.com>2025-09-06 05:33:17 -0400
commitbafcdddd31811cb9b13f2a984b291446de04a20b (patch)
treefa705c7af90c495b10b3fe0a8b09a34e2abe7f27
parenta20cff92cf8b81b501fd7a075bd74a89bf0194fa (diff)
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 <jniethe5@gmail.com>
-rwxr-xr-xbin/B2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/B b/bin/B
index d829374c..fc47902b 100755
--- a/bin/B
+++ b/bin/B
@@ -15,7 +15,7 @@ fi
if [ $# -eq 0 ]
then
- echo 'usage: B [+line] file...' 2>&1
+ echo 'usage: B [+line] file...' 1>&2
exit 1
fi