Displaying 5 results from an estimated 5 matches for "20475ef".
Did you mean:
20475
2015 Feb 06
2
[PATCH v3] virt-copy, virt-tar: show help for -h
Shows manpage for virt-copy-in,out and virt-tar-in,out
when user supplies -h as a parameter instead of listing
unrelated commands with descriptions.
Maros Zatko (1):
virt-copy, virt-tar: show help for -h
fish/virt-copy-in | 9 +++++++++
fish/virt-copy-out | 9 +++++++++
fish/virt-tar-in | 9 +++++++++
fish/virt-tar-out | 9 +++++++++
4 files changed, 36 insertions(+)
--
1.9.3
2015 Jan 23
0
[PATCH] virt-copy, virt-tar: show help for -h
...ile [ ""x != "$1"x ] ; do
+ case $(echo $@ | awk '{print $1}') in
+ "-h")
+ man $(basename $0)
+ exit
+ ;;
+ esac
+ shift 1
+done
+
+exec guestfish --rw -i copy-in "$args"
diff --git a/fish/virt-copy-out b/fish/virt-copy-out
index 20475ef..70e470a 100755
--- a/fish/virt-copy-out
+++ b/fish/virt-copy-out
@@ -16,4 +16,15 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-exec guestfish --ro -i copy-out "$@"
+args=$@
+while [ &q...
2015 Feb 06
0
[PATCH v3] virt-copy, virt-tar: show help for -h
...tion, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+for arg in $@; do
+ case $arg in
+ "-h")
+ man $(basename $0)
+ exit
+ ;;
+ esac
+done
+
exec guestfish --rw -i copy-in "$@"
diff --git a/fish/virt-copy-out b/fish/virt-copy-out
index 20475ef..953c594 100755
--- a/fish/virt-copy-out
+++ b/fish/virt-copy-out
@@ -16,4 +16,13 @@
# 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
+ "-h")
+ man $...
2015 Jan 23
1
[PATCH v2] virt-copy, virt-tar: show help for -h
Shows manpage for virt-copy-in,out and virt-tar-in,out
when user supplies -h as a parameter instead of listing
unrelated commands with descriptions.
Maros Zatko (1):
virt-copy, virt-tar: show help for -h
fish/virt-copy-in | 13 ++++++++++++-
fish/virt-copy-out | 13 ++++++++++++-
fish/virt-tar-in | 13 ++++++++++++-
fish/virt-tar-out | 13 ++++++++++++-
4 files changed, 48 insertions(+),
2015 Jan 23
2
[PATCH] virt-copy, virt-tar: show help for -h
Shows manpage for virt-copy-in,out and virt-tar-in,out
when user supplies -h as a parameter instead of listing
unrelated commands with descriptions.
Maros Zatko (1):
virt-copy, virt-tar: show help for -h
fish/virt-copy-in | 13 ++++++++++++-
fish/virt-copy-out | 13 ++++++++++++-
fish/virt-tar-in | 13 ++++++++++++-
fish/virt-tar-out | 13 ++++++++++++-
4 files changed, 48 insertions(+),