Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better example.

  • Loading branch information...
commit c1e821761a16d3e961bf4384d62b59c0ee7adb27 1 parent 928ca72
Paul Phillips authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 ivy-classpath
View
7 ivy-classpath
@@ -12,8 +12,6 @@ unset verbose
while getopts :v opt; do
case $opt in
v) verbose=true
- # :) echo "Option -$OPTARG requires an argument." >&2 ;; # this case is called for a missing option argument
- # *) echo "Unrecognized argument $OPTARG" ;; # this is the catch-all implying an unknown option
esac
done
@@ -21,7 +19,6 @@ done
# After this, "$@" contains the non-option arguments.
shift $((OPTIND-1))
-
if [[ $# -eq 0 ]]; then
cat <<EOM
Usage: $prog [-v] [dependency dependency ...]
@@ -32,12 +29,14 @@ transitively required ones. The format to express dependencies is
org%name%version
-Example Usage:
+Example uses:
$prog com.typesafe.akka%akka%2.0 play%play_2.9.1%2.0
$prog org.ow2.asm%asm%latest.release net.databinder%dispatch-http_2.9.1%latest.snapshot
+ scala -Ylog-classpath -cp \$($prog com.typesafe.akka%akka-actor%2.0 com.google.guava%guava%11.0.2)
EOM
+
exit 0
fi

0 comments on commit c1e8217

Please sign in to comment.
Something went wrong with that request. Please try again.