[augeas-devel] Write to file from dump-xml command
Dominic Cleal
dcleal at redhat.com
Mon Jun 2 14:27:37 UTC 2014
On 02/06/14 15:00, Dominic Cleal wrote:
> Hi all,
>
> The dump-xml command can take an optional second argument of a filename
> to output the generated XML to. Unfortunately it seems that it's
> completely unused (https://bugzilla.redhat.com/show_bug.cgi?id=1100106).
>
> https://github.com/hercules-team/augeas/blob/master/src/augrun.c#L952-L954
>
> Does anybody care strongly whether this feature should or should not exist?
>
> I'm inclined to remove it and suggest that augtool stdout should be
> redirected if users want to save XML output to a file.
Raphael's confirmed on IRC that he doesn't care about this option. I'll
likely remove it from the documentation then.
--
Dominic Cleal
Red Hat Engineering
More information about the augeas-devel
mailing list