@@ -200,23 +200,23 @@ static bool runFile(Runtime& runtime, const char* name, lua_State* GL)
200200
201201static void displayHelp (const char * argv0)
202202{
203- printf (" Usage: %s <command> [options] [arguments...]\n " , argv0 );
203+ printf (" Usage: lute <command> [options] [arguments...]\n " );
204204 printf (" \n " );
205205 printf (" Commands:\n " );
206206 printf (" run (default) Run a Luau script.\n " );
207207 printf (" check Type check Luau files.\n " );
208208 printf (" compile Compile a Luau script into the executable.\n " );
209209 printf (" \n " );
210210 printf (" Run Options (when using 'run' or no command):\n " );
211- printf (" %s [run] <script.luau> [args...]\n " , argv0 );
211+ printf (" lute [run] <script.luau> [args...]\n " );
212212 printf (" Executes the script, passing [args...] to it.\n " );
213213 printf (" \n " );
214214 printf (" Check Options:\n " );
215- printf (" %s check <file1.luau> [file2.luau...]\n " , argv0 );
215+ printf (" lute check <file1.luau> [file2.luau...]\n " );
216216 printf (" Performs a type check on the specified files.\n " );
217217 printf (" \n " );
218218 printf (" Compile Options:\n " );
219- printf (" %s compile <script.luau> [output_executable]\n " , argv0 );
219+ printf (" lute compile <script.luau> [output_executable]\n " );
220220 printf (" Compiles the script, embedding it into a new executable.\n " );
221221 printf (" \n " );
222222 printf (" General Options:\n " );
@@ -225,23 +225,23 @@ static void displayHelp(const char* argv0)
225225
226226static void displayRunHelp (const char * argv0)
227227{
228- printf (" Usage: %s run <script.luau> [args...]\n " , argv0 );
228+ printf (" Usage: lute run <script.luau> [args...]\n " );
229229 printf (" \n " );
230230 printf (" Run Options:\n " );
231231 printf (" -h, --help Display this usage message.\n " );
232232}
233233
234234static void displayCheckHelp (const char * argv0)
235235{
236- printf (" Usage: %s check <file1.luau> [file2.luau...]\n " , argv0 );
236+ printf (" Usage: lute check <file1.luau> [file2.luau...]\n " );
237237 printf (" \n " );
238238 printf (" Check Options:\n " );
239239 printf (" -h, --help Display this usage message.\n " );
240240}
241241
242242static void displayCompileHelp (const char * argv0)
243243{
244- printf (" Usage: %s compile <script.luau> [output_executable]\n " , argv0 );
244+ printf (" Usage: lute compile <script.luau> [output_executable]\n " );
245245 printf (" \n " );
246246 printf (" Compile Options:\n " );
247247 printf (" output_executable Optional name for the compiled executable.\n " );
@@ -412,7 +412,7 @@ int main(int argc, char** argv)
412412 program_argv = argv;
413413
414414 bool success = runBytecode (runtime, embedded.BytecodeData , " =__EMBEDDED__" , GL);
415-
415+
416416 return success ? 0 : 1 ;
417417 }
418418
0 commit comments