From a8654c12693a639c0bf8c68f4883d375c911a43e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Almeida?= Date: Sat, 23 May 2020 11:09:35 +0100 Subject: [PATCH] Fix command line argument retrieval for Allegro CL (#20) In Allegro CL, the symbol `sys:command-line-arguments' is a function and must be called in order to correctly access command line arguments. Thanks to @digikar99 for this fix! --- unix-opts.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix-opts.lisp b/unix-opts.lisp index c2ceb68..a8e942c 100644 --- a/unix-opts.lisp +++ b/unix-opts.lisp @@ -191,7 +191,7 @@ printed in option description." "Return a list of program's arguments, including command used to execute the program as first elements of the list. Portable across implementations." #+abcl ext:*command-line-argument-list* - #+allegro sys:command-line-arguments + #+allegro (sys:command-line-arguments) #+:ccl ccl:*command-line-argument-list* #+clisp (cons *load-truename* ext:*args*) #+clozure ccl:*command-line-argument-list*