summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/elixirc4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/elixirc b/bin/elixirc
index 9bad4380b..e40c9928c 100755
--- a/bin/elixirc
+++ b/bin/elixirc
@@ -1,6 +1,8 @@
#!/bin/sh
+set -e
+
if [ $# -eq 0 ] || [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
- echo "Usage: $(basename $0) [elixir switches] [compiler switches] [.ex files]
+ echo "Usage: $(basename "$0") [elixir switches] [compiler switches] [.ex files]
-h, --help Prints this message and exits
-o The directory to output compiled files