Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/fjail @ 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 | 3dcae0e91769 |
| children | 3f9cae8f5862 |
comparison
equal
deleted
inserted
replaced
| 143:eb88d52613fe | 144:6be3742d21f7 |
|---|---|
| 253 # Global option handling | 253 # Global option handling |
| 254 # | 254 # |
| 255 while getopts "Vh" _opt ; do | 255 while getopts "Vh" _opt ; do |
| 256 case ${_opt} in | 256 case ${_opt} in |
| 257 V) | 257 V) |
| 258 echo "fjail v${VERSION} (rv:@@HGREVISION@@)" | 258 printf 'fjail v%s (rv:%s)\n' "${VERSION}" '@@HGREVISION@@' |
| 259 exit 0 | 259 exit 0 |
| 260 ;; | 260 ;; |
| 261 h) | 261 h) |
| 262 echo "${USAGE}" | 262 echo "${USAGE}" |
| 263 exit 0 | 263 exit 0 |
