mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
virt-copy, virt-tar: show help for --help
This commit is contained in:
committed by
Richard W.M. Jones
parent
5a445c2e40
commit
ce144c4d7a
@@ -16,4 +16,12 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
for arg in $@; do
|
||||
case $arg in
|
||||
"--help")
|
||||
exec man $(basename "$0")
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
exec guestfish --rw -i copy-in "$@"
|
||||
|
||||
@@ -16,4 +16,12 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
for arg in $@; do
|
||||
case $arg in
|
||||
"--help")
|
||||
exec man $(basename "$0")
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
exec guestfish --ro -i copy-out "$@"
|
||||
|
||||
@@ -16,4 +16,12 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
for arg in $@; do
|
||||
case $arg in
|
||||
"--help")
|
||||
exec man $(basename "$0")
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
exec guestfish --rw -i tar-in "$@"
|
||||
|
||||
@@ -16,4 +16,12 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
for arg in $@; do
|
||||
case $arg in
|
||||
"--help")
|
||||
exec man $(basename "$0")
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
exec guestfish --ro -i tar-out "$@"
|
||||
|
||||
Reference in New Issue
Block a user