From 118e2a2cf3bdd1b1b8e8ad13ba555192e765bd9e Mon Sep 17 00:00:00 2001 From: "Ramón M. Gómez" Date: Mon, 17 Feb 2020 11:29:44 +0100 Subject: #957: Script `checkrepo` supports `help` and `version` functions. --- repoman/bin/checkrepo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repoman/bin/checkrepo b/repoman/bin/checkrepo index 5b50dcda..2d5aee42 100755 --- a/repoman/bin/checkrepo +++ b/repoman/bin/checkrepo @@ -183,6 +183,8 @@ function checkremoved() { # Main progrram. +[ "$*" == "help" ] && help +[ "$*" == "version" ] && version # Check dependencies. [ -w "$(dirname "$INFOFILE")" ] || raiseError access "$INFOFILE" -- cgit v1.2.3-18-g5258