Bug 1151738
Summary: | typo error in man page of virt-edit | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Lingfei Kong <lkong> | |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | low | Docs Contact: | ||
Priority: | low | |||
Version: | 7.1 | CC: | jherrman, leiwang, mbooth, ptoscano, wshi, yuliu | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libguestfs-1.27.63-1.el7 | Doc Type: | Bug Fix | |
Doc Text: |
Minor fixes and improvements have been done to the help message of the "set-append" command, an error message of the "guestfish umount" command, and to the guestfish(1) and virt-edit(1) man pages.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1151739 (view as bug list) | Environment: | ||
Last Closed: | 2015-03-05 13:46:09 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1151739 |
Description
Lingfei Kong
2014-10-11 08:55:56 UTC
«--format FMT» is not the same as «--format=FMT», because all of the C tools use getopt_long with --format as optional argument, so «--format FMT» is interpreted as argument-less --format with FMT as parameter. Since the tools that can mount more than one image need to have a way to reset the format autodetection, hence the argument-less --format is accepted. All the man pages of tools document that. (0c1d3c02a8147617ee0646e37d011235abdd2c22 introduces this behaviour in guestfish) Simple fix pushed as https://github.com/libguestfs/libguestfs/commit/145a188f7056d4414adef472e95cad5640d79511 I've just realised that we have had this patch in RHEL 7 for a little while. Version: libguestfs-1.28.1-1.11.el7.x86_64 --format=raw|qcow2|.. Verified as above. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0303.html |