Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c4b1322

Browse files
committedJan 6, 2018
formatted the help dialog
1 parent 2fa3390 commit c4b1322

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed
 

‎build.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ if(plat == nil)then
66
error("Please define plat as Windows, Linux, or MacOSX")
77
end
88

9+
require("luaadd")
910
require("build_func")
1011

1112

‎src/consolew.c

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,20 @@ const char HELP_MESSAGE[] =
6767
"\t- Built-in stack-dump\n"
6868
"\t- Line by Line interpretation\n"
6969
"\n"
70-
"Usage: lua.exe [FILE_PATH] [-v] [-e] [-s START_PATH] [-p] [-a] [-c] [-Dvar=val] [-Lfilepath.lua] [-b[a,b,c]] [-?] [-n]{parameter1 ...} \n"
70+
"Usage: luaw.exe [FILE_PATH] [-v] [-e] [-s START_PATH] [-p] [-a] [-c]\n"
71+
"\t[-Dvar=val] [-Lfilepath.lua] [-b[a,b,c]] [-?] [-n]{parameter1 ...} \n"
7172
"\n"
72-
"-v \t Prints the Lua version in use\n"
73-
"-e \t Prevents lua core libraries from loading\n"
74-
"-s \t Issues a new root path\n"
75-
"-p \t Has console post exist after script in line by line mode\n"
76-
"-c \t No copyright on init\n"
77-
"-d \t Defines a global variable as value after '='\n"
78-
"-l \t Executes a module before specified script or post-exist\n"
79-
"-b[a,b,c] \t Load parameters arg differently. a=before passed -l's, b=give passed -l's a tuple, c=give passed file a tuple\n"
80-
"-n \t Start of parameter section\n"
81-
"-? \t Displays this help message\n";
73+
"-v \t\t Prints the Lua version in use\n"
74+
"-e \t\t Prevents lua core libraries from loading\n"
75+
"-s \t\t Issues a new root path\n"
76+
"-p \t\t Has console post exist after script in line by line mode\n"
77+
"-c \t\t No copyright on init\n"
78+
"-d \t\t Defines a global variable as value after '='\n"
79+
"-l \t\t Executes a module before specified script or post-exist\n"
80+
"-b[a,b,c] \t Load parameters arg differently. a=before passed -l's,\n"
81+
"\t\t\tb=give passed -l's a tuple, c=give passed file a tuple\n"
82+
"-n \t\t Start of parameter section\n"
83+
"-? \t\t Displays this help message\n";
8284

8385

8486

0 commit comments

Comments
 (0)
Please sign in to comment.