summaryrefslogtreecommitdiffstats
path: root/repoman
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-02-17 11:29:44 +0100
committerRamón M. Gómez <ramongomez@us.es>2020-02-17 11:29:44 +0100
commit118e2a2cf3bdd1b1b8e8ad13ba555192e765bd9e (patch)
tree4380fb88ba7d14d7656f21b4fe8d0253b64c3a90 /repoman
parentca75d294e3b1bd59ca868c6a57310445eb1187dd (diff)
#957: Script `checkrepo` supports `help` and `version` functions.
Diffstat (limited to 'repoman')
-rwxr-xr-xrepoman/bin/checkrepo2
1 files changed, 2 insertions, 0 deletions
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"