Bug 1100106
| Summary: | augtool builtin command `dump-xml` can not save the XML to a given file | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Lingfei Kong <lkong> | |
| Component: | augeas | Assignee: | Dominic Cleal <dcleal> | |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | low | |||
| Version: | 7.0 | CC: | leiwang, lkong, wshi, yuliu | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | augeas-1.1.0-13.el7 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1100182 (view as bug list) | Environment: | ||
| Last Closed: | 2015-03-05 09:25:18 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: | 1100182 | |||
|
Description
Lingfei Kong
2014-05-22 03:22:54 UTC
I've suggested this argument be removed from the documentation upstream: https://github.com/hercules-team/augeas/pull/130 Rather than being fixed/implemented, the option has now been removed from the documentation (help output and the man page). https://github.com/hercules-team/augeas/commit/e775e5f85183a76c584219b14963368a66171375 #augtool
augtool> dump-xml /files/etc/ /root/save.xml
error: Failed to execute command
Too many arguments. Command dump-xml takes only 1 arguments
augtool> help dump-xml
COMMAND
dump-xml - print a subtree as XML
SYNOPSIS
dump-xml [<PATH>]
DESCRIPTION
Export entries in the tree as XML. If PATH is given, printing starts there,
otherwise the whole tree is printed.
OPTIONS
<PATH> print this subtree
option dump-xml remove the FILE parameter and when give two parameters to dump-xml it can give a proper error message. So, bug is fixed
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-0399.html |