mirror of
https://github.com/Phantop/appdwarf.git
synced 2025-01-08 13:17:24 +00:00
appdwarf: short fetch option, better help
This commit is contained in:
parent
86cc5317c1
commit
f180a2962d
14
appdwarf
14
appdwarf
|
@ -81,7 +81,7 @@ case "$1" in
|
|||
mv "$tmp" "$2"
|
||||
chmod +x "$2"
|
||||
exit ;;
|
||||
--fetch )
|
||||
-f | --fetch )
|
||||
FETCH=1
|
||||
shift ;;
|
||||
-p | -z | --prefix | --zzexe )
|
||||
|
@ -93,16 +93,16 @@ case "$1" in
|
|||
echo "Usage: appdwarf [option] [APP/FILE/FOLDER/URL] [compression options]"
|
||||
echo " -a [FILE] write example AppRun file"
|
||||
echo " -b [FILE] write bin subdir AppRun file"
|
||||
echo " -d [--decompress] [FILE] decompress a compressed program"
|
||||
echo " -d, --decompress [FILE] decompress a compressed program"
|
||||
echo
|
||||
echo " --bundle [path/to/dwarfs] bundle dwarfs with the appdwarf image"
|
||||
echo " --fetch only fetch a remote AppImage"
|
||||
echo " -f, --fetch only fetch a remote AppImage"
|
||||
echo
|
||||
echo " -p [--prefix] [PREFIX] zzexe a file with prefix"
|
||||
echo " -z [--zzexe] zzexe a file"
|
||||
echo " -p, --prefix] [PREFIX] zzexe a file with prefix"
|
||||
echo " -z, --zzexe zzexe a file"
|
||||
echo
|
||||
echo " -h, --help Print this help text"
|
||||
echo " -v, --version Print the appdwarf version"; exit ;;
|
||||
echo " -h, --help] Print this help text"
|
||||
echo " -v, --version] Print the appdwarf version"; exit ;;
|
||||
esac
|
||||
|
||||
if [ ! -d "$1" ]; then # directory doesn't exist, see if this is an appimage
|
||||
|
|
Loading…
Reference in a new issue