From a6332a176efac5d52ae417b0580b28f44a0341e6 Mon Sep 17 00:00:00 2001
From: Per Cederqvist <ceder@lysator.liu.se>
Date: Mon, 2 Jun 2008 06:44:24 +0000
Subject: [PATCH] The --warn option is not named --warning.

---
 lysrdiff-set-status.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lysrdiff-set-status.py b/lysrdiff-set-status.py
index c94e509..3348894 100755
--- a/lysrdiff-set-status.py
+++ b/lysrdiff-set-status.py
@@ -36,7 +36,7 @@ if __name__ == '__main__':
     if sys.argv[1] == "--ok":
         completion(int(sys.argv[2]), int(sys.argv[3]), 
 		   sys.argv[4], sys.argv[5], "OK")
-    if sys.argv[1] == "--warning":
+    if sys.argv[1] == "--warn":
         completion(int(sys.argv[2]), int(sys.argv[3]), 
 		   sys.argv[4], sys.argv[5], "WARN")
     if sys.argv[1] == "--fail":
-- 
GitLab