Skip to content

Commit

Permalink
Accept but ignore JVM-related dep-opts
Browse files Browse the repository at this point in the history
  • Loading branch information
mfikes committed Apr 15, 2018
1 parent 7b51989 commit 8f952f8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions planck-sh/plk
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ resolve_tags=false
help=false
resolve_aliases=()
classpath_aliases=()
jvm_aliases=()
main_aliases=()
all_aliases=()
while [ $# -gt 0 ]
do
case "$1" in
-J*)
shift
;;
-R*)
resolve_aliases+=("${1:2}")
shift
Expand All @@ -31,7 +33,6 @@ do
shift
;;
-O*)
jvm_aliases+=("${1:2}")
shift
;;
-M*)
Expand Down Expand Up @@ -124,7 +125,6 @@ invokes a command-line of the form:
planck --classpath classpath [init-opt*] [main-opt] [arg*]
The dep-opts are used to build the classpath using the clojure tool:
-Oalias... Concatenated jvm option aliases, ex: -O:mem
-Ralias... Concatenated resolve-deps aliases, ex: -R:bench:1.9
-Calias... Concatenated make-classpath aliases, ex: -C:dev
-Malias... Concatenated main option aliases, ex: -M:test
Expand All @@ -139,6 +139,9 @@ planck --classpath classpath [init-opt*] [main-opt] [arg*]
-Sresolve-tags Resolve git coordinate tags to shas and update deps.edn
-Sverbose Print important path info to console
-Sdescribe Print environment and command parsing info as data
Additionally, for compatibility with clojure, -Jopt and -Oalias... dep-opts
are accepted but ignored.
END
planck -h | tail -n +6
exit 0
Expand Down

0 comments on commit 8f952f8

Please sign in to comment.