nitc :: ToolContext :: opt_check=
This option creates a temporary pretty printed file then checks if the output of the diff command on the source file and the pretty printed one is empty.
# Check formatting instead of pretty printing.
#
# This option creates a temporary pretty printed file then checks if the
# output of the diff command on the source file and the pretty printed one is
# empty.
var opt_check = new OptionBool("Check format of Nit source files", "--check")
src/nitpretty.nit:55,2--60,78