This repository was archived by the owner on Dec 11, 2025. It is now read-only.
Commit 92486ce
Ensure lshw output is always listified
lshw changed the output of -xml between B.02.19 and B.02.20, in commit
2b1c730b493d647bbab4854713571458e82a81e7
(https://ezix.org/src/pkg/lshw/commit/2b1c730b493d647bbab4854713571458e82a81e7).
This commit seems to try to fix the JSON output but in doing so sets
`disable("output:list")` in main. This was feature/setting was being
used by the code in hwNode::asXML.
It seems that options are default enabled and thus we were getting the
xml data listified. When the output:list was disabled in that commit we
stopped getting listified xml. I have verified that we can enable the
option by passing it in the cli args as `-enable output:list`.
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>1 parent fa16da4 commit 92486ce
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
300 | 302 | | |
301 | 303 | | |
302 | 304 | | |
| |||
0 commit comments