diff --git a/njvm.c b/njvm.c index 01ecbf5..ddf73ad 100644 --- a/njvm.c +++ b/njvm.c @@ -21,7 +21,7 @@ void version(void) { } void help(void) { - printf("usage: ./njvm [option] [option] ...\n\t--version\tshow version and exit\n\t--help\t\tshow this help and exit\n"); + printf("Usage: ./njvm [options] \n\t--debug\tstart virtual machine in debug mode\n\t--version\tshow version and exit\n\t--help\t\tshow this help and exit\n"); } void execute(struct program program) { @@ -131,7 +131,7 @@ int main(int argc, char *argv[]) { printProgram(program); execute(program); } else { - printf("Error: no program selected\n"); + printf("Error: no code file specified\n"); return 1; } // Stopped