Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 914a14d

Browse files
author
Ryan Neufeld
committed
Merge pull request clojure-cookbook#311 from daemianmack/patch-6
"symbol" => "keyword"
2 parents a15cd5b + d394a7c commit 914a14d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

local-io/console/parse-command-line-arguments/parse-command-line-arguments.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ you would provide the spec `["-p" "--port"]`. The +"-p"+ isn't
6161
strictly necessary, but it is customary to provide a single-letter
6262
shortcut for command-line options (especially long ones.) In the
6363
returned +opts+ map the text of the last option name will be interned
64-
to a symbol (less the "--"). For example, +"--port"+ would become
64+
to a keyword (less the "--"). For example, +"--port"+ would become
6565
+:port+, and +"--super-long-option"+ would become +:super-long-option+.
6666

6767
// TODO: This feature is not working--throws misc. errors when

0 commit comments

Comments
 (0)