Skip to content

Commit

Permalink
appdwarf: short fetch option, better help
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantop committed Mar 12, 2024
1 parent f4f6ae8 commit d86e028
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions appdwarf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ case "$1" in
mv "$tmp" "$2"
chmod +x "$2"
exit ;;
--fetch )
-f | --fetch )
FETCH=1
shift ;;
-p | -z | --prefix | --zzexe )
Expand All @@ -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
Expand Down

0 comments on commit d86e028

Please sign in to comment.