Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/bsmtp2dma @ 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 | 47c7223bea76 |
| children | c4e9099a3d3e |
comparison
equal
deleted
inserted
replaced
| 143:eb88d52613fe | 144:6be3742d21f7 |
|---|---|
| 242 | 242 |
| 243 | 243 |
| 244 while getopts "V8c:d:f:h:l:nr:s:" _opt; do | 244 while getopts "V8c:d:f:h:l:nr:s:" _opt; do |
| 245 case ${_opt} in | 245 case ${_opt} in |
| 246 V) | 246 V) |
| 247 echo "bsmtp2dma v${VERSION} (rv:@@HGREVISION@@)" | 247 echo 'bsmtp2dma v%s (rv:%s)\n' "${VERSION}" '@@HGREVISION@@' |
| 248 echo "$USAGE" | 248 echo "$USAGE" |
| 249 exit 0; | 249 exit 0; |
| 250 ;; | 250 ;; |
| 251 8) | 251 8) |
| 252 : # VOID | 252 : # VOID |
