QEMU/KVM virtual machine management via QMP
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-qemu: inline doc string to reduce run_cmd to 50 lines (E005)

Inline the 'doc' binding into Cmd.info to save one line, bringing
run_cmd under the 50-line threshold without fighting ocamlformat's
multi-line argument formatting.

+1 -2
+1 -2
bin/main.ml
··· 128 128 (* Commands *) 129 129 130 130 let run_cmd = 131 - let doc = "Start a new QEMU VM." in 132 131 let man = 133 132 [ 134 133 `S Manpage.s_description; ··· 138 137 `P "$(b,qemu-ctl run myvm --disk disk.qcow2 --kvm)"; 139 138 ] 140 139 in 141 - let info = Cmd.info "run" ~doc ~man in 140 + let info = Cmd.info "run" ~doc:"Start a new QEMU VM." ~man in 142 141 let term = 143 142 Term.( 144 143 const