comparison sbin/check-ports @ 144:6be3742d21f7

- FIX: Really print the version in check-ports - Use "printf" for all version output now
author Franz Glasner <hg@dom66.de>
date Wed, 30 Oct 2019 17:24:44 +0100
parents 17b2f4fa9c1b
children c4e9099a3d3e
comparison
equal deleted inserted replaced
143:eb88d52613fe 144:6be3742d21f7
395 option_verbose="" 395 option_verbose=""
396 396
397 while getopts "VAasv" _opt ; do 397 while getopts "VAasv" _opt ; do
398 case ${_opt} in 398 case ${_opt} in
399 V) 399 V)
400 echo 'check-ports v${VERSION} (rv:@@HGREVISION@@)' 400 echo 'check-ports v%s (rv:%s)\n' "${VERSION}" '@@HGREVISION@@'
401 exit 0 401 exit 0
402 ;; 402 ;;
403 A) 403 A)
404 # Print for every package the status of all repositories 404 # Print for every package the status of all repositories
405 option_alldata="1" 405 option_alldata="1"