This commit is contained in:
Steven Penny 2016-01-02 19:44:17 -06:00
parent fd985e7a34
commit 2f59c986cb
1 changed files with 6 additions and 6 deletions

12
apt-cyg
View File

@ -23,7 +23,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE. # THE SOFTWARE.
mapfile usage <<+ usage="\
NAME NAME
apt-cyg - package manager utility apt-cyg - package manager utility
@ -102,15 +102,15 @@ OPTIONS
--version --version
Display version and exit. Display version and exit.
+ "
mapfile version <<+ version="\
apt-cyg version 0.59 apt-cyg version 0.59
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2005-9 Stephen Jungels Copyright (c) 2005-9 Stephen Jungels
+ "
function wget { function wget {
if command wget -h &>/dev/null if command wget -h &>/dev/null
@ -628,7 +628,7 @@ do
;; ;;
--version) --version)
printf %s "${version[@]}" printf "$version"
exit exit
;; ;;
@ -663,5 +663,5 @@ then
readonly arch=${HOSTTYPE/i6/x} readonly arch=${HOSTTYPE/i6/x}
apt-$command apt-$command
else else
printf %s "${usage[@]}" printf "$usage"
fi fi