Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
+++ This bug was initially created as a clone of Bug #1144266 +++
Description of problem:
virt-copy-in, virt-copy-out, virt-tar-in, virt-tar-out have the same help message with 'guestfish -V'
Version-Release number of selected component (if applicable):
libguestfs-1.27.48-1.1.el7
How reproducible:
100%
Steps to Reproduce:
Take virt-copy-in for example:
#virt-copy-in --help
guestfish: guest filesystem shell
guestfish lets you edit virtual machine filesystems
Copyright (C) 2009-2014 Red Hat Inc.
Usage:
guestfish [--options] cmd [: cmd : cmd ...]
Options:
-h|--cmd-help List available commands
-h|--cmd-help cmd Display detailed help on 'cmd'
-a|--add image Add image
-c|--connect uri Specify libvirt URI for -d option
--csh Make --listen csh-compatible
-d|--domain guest Add disks from libvirt guest
--echo-keys Don't turn off echo for passphrases
-f|--file file Read commands from file
--format[=raw|..] Force disk format for -a option
-i|--inspector Automatically mount filesystems
--keys-from-stdin Read passphrases from stdin
--listen Listen for remote commands
--live Connect to a live virtual machine
-m|--mount dev[:mnt[:opts[:fstype]]]
Mount dev on mnt (if omitted, /)
--network Enable network
-N|--new [filename=]type
Create prepared disk (test<N>.img or filename)
-n|--no-sync Don't autosync
--no-dest-paths Don't tab-complete paths from guest fs
--pipe-error Pipe commands can detect write errors
--progress-bars Enable progress bars even when not interactive
--no-progress-bars Disable progress bars
--remote[=pid] Send commands to remote guestfish
-r|--ro Mount read-only
--selinux Enable SELinux support
-v|--verbose Verbose messages
-V|--version Display version and exit
-w|--rw Mount read-write
-x Echo each command before executing it
To examine a disk image, ISO, hard disk, filesystem etc:
guestfish [--ro|--rw] -i -a /path/to/disk.img
or
guestfish [--ro|--rw] -i -d name-of-libvirt-domain
--ro recommended to avoid any writes to the disk image. If -i option fails
run again without -i and use 'run' + 'list-filesystems' + 'mount' cmds.
For more information, see the manpage guestfish(1).
Here is 'guestfish --help':
#guestfish --help
guestfish: guest filesystem shell
guestfish lets you edit virtual machine filesystems
Copyright (C) 2009-2014 Red Hat Inc.
Usage:
guestfish [--options] cmd [: cmd : cmd ...]
Options:
-h|--cmd-help List available commands
-h|--cmd-help cmd Display detailed help on 'cmd'
-a|--add image Add image
-c|--connect uri Specify libvirt URI for -d option
--csh Make --listen csh-compatible
-d|--domain guest Add disks from libvirt guest
--echo-keys Don't turn off echo for passphrases
-f|--file file Read commands from file
--format[=raw|..] Force disk format for -a option
-i|--inspector Automatically mount filesystems
--keys-from-stdin Read passphrases from stdin
--listen Listen for remote commands
--live Connect to a live virtual machine
-m|--mount dev[:mnt[:opts[:fstype]]]
Mount dev on mnt (if omitted, /)
--network Enable network
-N|--new [filename=]type
Create prepared disk (test<N>.img or filename)
-n|--no-sync Don't autosync
--no-dest-paths Don't tab-complete paths from guest fs
--pipe-error Pipe commands can detect write errors
--progress-bars Enable progress bars even when not interactive
--no-progress-bars Disable progress bars
--remote[=pid] Send commands to remote guestfish
-r|--ro Mount read-only
--selinux Enable SELinux support
-v|--verbose Verbose messages
-V|--version Display version and exit
-w|--rw Mount read-write
-x Echo each command before executing it
To examine a disk image, ISO, hard disk, filesystem etc:
guestfish [--ro|--rw] -i -a /path/to/disk.img
or
guestfish [--ro|--rw] -i -d name-of-libvirt-domain
--ro recommended to avoid any writes to the disk image. If -i option fails
run again without -i and use 'run' + 'list-filesystems' + 'mount' cmds.
For more information, see the manpage guestfish(1).
Actual results:
virt-copy-in, virt-copy-out, virt-tar-in, virt-tar-out have the same help message with 'guestfish -V'. The output is different from its man page, for example i can not find --remote from man virt-copy-in.
Expected results:
virt-copy-in, virt-copy-out, virt-tar-in, virt-tar-out should have their own help message
Additional info: