Shoobx / xmldiff

A library and command line utility for diffing xml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Process exit code

lynnux opened this issue · comments

Then gnu diff tool will return 1 if there has different, but xmldiff seems always return 0 except that encounter error like tag mismattch.

Hmm, I haven't thought about using it to test if there is a difference. Just to generate a diff.

As a workaround you can just check if it outputs anything. Adding a --check parameter that behaves like you want makes sense.

I added such a parameter in #98.

Thanks for all the help @Glamhoth !