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.

Property definitions

nitc :: nitpretty $ ToolContext :: opt_check=
	# 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