diff --git a/picoc.c b/picoc.c index b272777..998c9eb 100644 --- a/picoc.c +++ b/picoc.c @@ -1,9 +1,9 @@ /* picoc main program - this varies depending on your operating system and * how you're using picoc */ -/* include only picoc.h here - should be able to use it with only the external interfaces, no internals from interpreter.h */ +/* include only picoc.h here - should be able to use it with only the + external interfaces, no internals from interpreter.h */ #include "picoc.h" -#include "LICENSE.h" /* platform-dependent code for running programs is in this file */ @@ -12,6 +12,8 @@ #include #include +#include "LICENSE.h" + /* Override via STACKSIZE environment variable */ /* stack space */ #define PICOC_STACK_SIZE (128000*4) @@ -25,11 +27,12 @@ int main(int argc, char **argv) if (argc < 2 || strcmp(argv[ParamCount], "-h") == 0) { printf(PICOC_VERSION " \n" - "Format: picoc ... [- ...] : run a program, calls main() as the entry point\n" - " picoc -s ... [- ...] : run a script, runs the program without calling main()\n" - " picoc -i : interactive mode, Ctrl+d to exit\n" - " picoc -c : copyright info\n" - " picoc -h : this help message\n"); + "Format:\n\n" + "> picoc ... [- ...] : run a program, calls main() as the entry point\n" + "> picoc -s ... [- ...] : run a script, runs the program without calling main()\n" + "> picoc -i : interactive mode, Ctrl+d to exit\n" + "> picoc -c : copyright info\n" + "> picoc -h : this help message\n"); return 0; }