add verbosity info

This commit is contained in:
flaviut 2014-05-29 16:31:07 -04:00
commit 1ad34dfac6

View file

@ -9,7 +9,7 @@ echo "Hello World"
To compile and execute the program, the following command should be run To compile and execute the program, the following command should be run
``` ```
$ nimrod c -r ./helloworld.nim $ nimrod c -r --verbosity:0 ./helloworld.nim
Hello World Hello World
``` ```
@ -17,4 +17,5 @@ The command has several elements:
* `c` is an alias for `compile`, which compiles the Nimrod sources into C and then invokes the C compiler on them * `c` is an alias for `compile`, which compiles the Nimrod sources into C and then invokes the C compiler on them
* `-r` is an alias for `--run`, which runs the program * `-r` is an alias for `--run`, which runs the program
* `--verbosity:0` makes the compiler only output essential messages, since by default it also outputs some debugging messages. From now on, we assume that `--verbosity:0` is set
* `./helloworld.nim` is the path to the source you want to compile * `./helloworld.nim` is the path to the source you want to compile