wok rev 5278

xz/lzma: add --version support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 16 10:19:22 2010 +0200 (2010-04-16)
parents de99cab8346f
children 430b278c204b
files xz/stuff/lzma
line diff
     1.1 --- a/xz/stuff/lzma	Fri Apr 16 10:18:15 2010 +0200
     1.2 +++ b/xz/stuff/lzma	Fri Apr 16 10:19:22 2010 +0200
     1.3 @@ -22,7 +22,7 @@
     1.4    -si:    read data from stdin
     1.5    -so:    write data to stdout
     1.6  EOT
     1.7 -	exit 1
     1.8 +	exit 0
     1.9  }
    1.10  
    1.11  # Get lzma_alone arg
    1.12 @@ -77,7 +77,7 @@
    1.13  case "$1" in
    1.14  d) args="-d";;
    1.15  e) args="-z";;
    1.16 ---help|-h|-\?|'') usage;;
    1.17 +--version|-V|--help|-h|-\?|'') usage;;
    1.18  *) lzma_utils $@;;
    1.19  esac
    1.20