summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@dashbit.co>2020-12-09 17:15:13 +0100
committerJosé Valim <jose.valim@dashbit.co>2020-12-09 17:15:13 +0100
commit59f90463bd46ec69c04af79689b8057855c8a9bf (patch)
treed66b672d8ac5e76de9abfe8130772a99bcbc41e6 /bin
parenta979b882f9bd0b001b00df67c4937bb5da059347 (diff)
downloadelixir-59f90463bd46ec69c04af79689b8057855c8a9bf.tar.gz
Document compile flag
Diffstat (limited to 'bin')
-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