Usage: hwloc-patch [options] [<old.xml> | refname] [<diff.xml> | -] [<output.xml>]
Options:
-R --reverse Reverse the sense of the difference
--dry-run Check if diff apply without applying it
--version Report version and exit
-h --help Show this usage
Options (4)
| Option | Description | Source |
|---|
-R --reverse | Reverse the sense the difference file. | help + man |
--dry-run | Check if the patch applies, but do not actually write the result. | help + man |
--version | Report version and exit. | help + man |
-h --help | Display help message and exit. | help + man |
Examples (5) from the manual page, untested
hwloc-patch fourmi023.xml diff.xml fourmi023-new.xml
Apply a XML topology difference file to an existing topology:hwloc-patch --dry-run fourmi023.xml diff.xml
Check if a XML topology difference file could apply to an existing topology but do not apply it:hwloc-patch refname diff.xml fourmi023-new.xml
Apply a XML topology difference file whose refname field contains the right input topology:cat diff.xml | hwloc-patch fourmi023.xml - fourmi023-new.xml
Apply a XML topology from the standard intput:hwloc-diff fourmi023.xml fourmi024.xml | hwloc-patch fourmi025.xml -
Directly compute the difference between two topologies and apply it to another one, in place:
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.