liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b519bd15df814cf076d7b3288c7a9f5620daa837
parent f2daa0b66955d6a6759d67067f737bd8860308f4
Author: Daniel Barlow <dan@telent.net>
Date:   Tue,  5 Dec 2023 17:31:18 +0000

pretty-print the qemu command line

well, pretty-ish

Diffstat:
Mpkgs/run-liminix-vm/run-liminix-vm.fnl | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/pkgs/run-liminix-vm/run-liminix-vm.fnl b/pkgs/run-liminix-vm/run-liminix-vm.fnl @@ -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)))