aboutsummaryrefslogtreecommitdiff
path: root/src/util.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.lisp')
-rw-r--r--src/util.lisp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.lisp b/src/util.lisp
index c4b4df2..44ae5b7 100644
--- a/src/util.lisp
+++ b/src/util.lisp
@@ -87,6 +87,10 @@ supported."
do (pop forms)
finally (return forms)))
+(defun plist-to-cmd-args (plist &aux args)
+ (doplist (k v plist args)
+ (push (strcat "--" (string-downcase (symbol-name k)) "=" v) args)))
+
;;;; Version numbers