aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-16 22:04:13 +0200
committerMattias Andrée <maandree@kth.se>2024-08-16 22:04:13 +0200
commitdaff9b654a8505cd72c95414531559cbc171a85a (patch)
treea00f53192112eed4bd74b9bcb591c36799113caf
parentFix bug (diff)
downloadgit-rediff-daff9b654a8505cd72c95414531559cbc171a85a.tar.gz
git-rediff-daff9b654a8505cd72c95414531559cbc171a85a.tar.bz2
git-rediff-daff9b654a8505cd72c95414531559cbc171a85a.tar.xz
Fix exit value on usage error1.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--git-rediff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rediff.c b/git-rediff.c
index c34e854..6ce75c2 100644
--- a/git-rediff.c
+++ b/git-rediff.c
@@ -6,7 +6,7 @@
#include <libsimple.h>
#include <libsimple-arg.h>
-USAGE("[<path>...]");
+NUSAGE(2, "[<path>...]");
#if defined(__clang__)
# pragma clang diagnostic ignored "-Wunsafe-buffer-usage"