Module: check_mk
Branch: master
Commit: 2d37aaeb363b0892a91de10fb2db2a9f5afe6ded
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2d37aaeb363b08…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 14 13:59:31 2017 +0200
werk tool: support "current" argument for selecting current version
Change-Id: I29c6cd887566a5a739ac6591f0df5da7a3dac490
---
werk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/werk b/werk
index cc60985..7989387 100755
--- a/werk
+++ b/werk
@@ -302,6 +302,9 @@ def main_list(args, format):
reverse = False
for a in args:
+ if a == "current":
+ a = g_current_version
+
if a == '-r':
reverse = True
continue