File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ defmodule ElixirScript.CommandLine do
42
42
{ parsed , _remaining_args } =
43
43
OptionParser . parse! ( args ,
44
44
strict: [ script: :string , debug: :boolean , help: :boolean ] ,
45
- aliases: [ debug : :d , help : :h , script : :s ]
45
+ aliases: [ d : :debug , h : :help , s : :script ]
46
46
)
47
47
48
48
debug? = Keyword . get ( parsed , :debug , System . get_env ( "INPUT_DEBUG" ) == "true" )
@@ -62,9 +62,9 @@ defmodule ElixirScript.CommandLine do
62
62
script [OPTIONS]
63
63
64
64
Options:
65
- --script,-s Specifies the script to run [INPUT_SCRIPT]
66
- --debug, -d Enables debug mode [INPUT_DEBUG]
67
- --help, -h Show this help message and exit
65
+ --script, -s Specifies the script to run [INPUT_SCRIPT]
66
+ --debug, -d Enables debug mode [INPUT_DEBUG]
67
+ --help, -h Show this help message and exit
68
68
69
69
Example:
70
70
script --script "IO.puts('Hello, world!')"
You can’t perform that action at this time.
0 commit comments