Skip to content

Commit

Permalink
Fix command line argument retrieval for Allegro CL (#20)
Browse files Browse the repository at this point in the history
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!
  • Loading branch information
hineios authored May 23, 2020
1 parent e14c9b5 commit a8654c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix-opts.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down

0 comments on commit a8654c1

Please sign in to comment.