pretty-print the qemu command line

well, pretty-ish
This commit is contained in:
Daniel Barlow 2023-12-05 17:31:18 +00:00
parent f2daa0b669
commit b519bd15df

View file

@ -105,6 +105,9 @@
(appendm (local-net options.lan))
(appendm ["-display" "none"])))
(each [n a (ipairs exec-args)]
(print (.. (if (> n 1) " " "") (string.format "%q" a))))
(match exec-args
[cmd & params] (print (spawn cmd params)))