mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Fix libguestfs-make-fixed-appliance --help option so it displays usage.
Previously it printed 'Internal error!'
This commit is contained in:
@@ -50,11 +50,13 @@ while true; do
|
||||
--xz)
|
||||
xz_mode=1
|
||||
shift;;
|
||||
--help)
|
||||
usage 0;;
|
||||
--)
|
||||
shift
|
||||
break;;
|
||||
*)
|
||||
echo "Internal error!"
|
||||
echo "internal error ($1)"
|
||||
exit 1;;
|
||||
esac
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user