quilt/quilt-refresh-fix-error-message.patch

24 lines
696 B
Diff
Raw Normal View History

From: Jean Delvare <jdelvare@suse.de>
Date: Thu, 6 Feb 2014 08:50:34 +0100
Subject: refresh: Fix error message
Patch-mainline: yes
Git-commit: 5df0d39bcd087190fe414bef9a7e4055c941bc76
References: bnc#872719
The message was not updated when support for -pab was added.
diff --git a/quilt/refresh.in b/quilt/refresh.in
index 97b81a6..41d43a7 100644
--- a/quilt/refresh.in
+++ b/quilt/refresh.in
@@ -199,7 +199,8 @@ ab)
num_strip_level=1
;;
*)
- printf $"Cannot refresh patches with -p%s, please specify -p0 or -p1 instead\n" "$opt_strip_level" >&2
+ printf $"Cannot refresh patches with -p%s, please specify -p0, -p1, or -pab instead\n" \
+ "$opt_strip_level" >&2
exit 1
;;
esac