summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/elixirc1
-rw-r--r--bin/elixirc.bat5
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/elixirc b/bin/elixirc
index 2c24a0f0a..72c7ddaca 100755
--- a/bin/elixirc
+++ b/bin/elixirc
@@ -12,6 +12,7 @@ Usage: $(basename "$0") [elixir switches] [compiler switches] [.ex files]
--ignore-module-conflict Does not emit warnings if a module was previously defined
--no-debug-info Does not attach debug info to compiled modules
--no-docs Does not attach documentation to compiled modules
+ --profile time Profile the time to compile modules
--verbose Prints compilation status
--warnings-as-errors Treats warnings as errors and return non-zero exit code
diff --git a/bin/elixirc.bat b/bin/elixirc.bat
index 1f1098ff3..bb6bf4738 100644
--- a/bin/elixirc.bat
+++ b/bin/elixirc.bat
@@ -14,14 +14,15 @@ goto run
:documentation
echo Usage: %~nx0 [elixir switches] [compiler switches] [.ex files]
echo.
+echo -h, --help Prints this message and exits
echo -o The directory to output compiled files
+echo -v, --version Prints Elixir version and exits
echo.
-echo --help, -h Prints this message and exits
echo --ignore-module-conflict Does not emit warnings if a module was previously defined
echo --no-debug-info Does not attach debug info to compiled modules
echo --no-docs Does not attach documentation to compiled modules
+echo --profile time Profile the time to compile modules
echo --verbose Prints compilation status
-echo --version, -v Prints Elixir version and exits
echo --warnings-as-errors Treats warnings as errors and returns non-zero exit code
echo.
echo ** Options given after -- are passed down to the executed code