Get the name of the tool or "DUMMY_TOOL" id --set-dummy-tool is set.

Property definitions

nitc $ ToolContext :: toolname
	# Get the name of the tool or "DUMMY_TOOL" id `--set-dummy-tool` is set.
	fun toolname: String do
		if opt_set_dummy_tool.value then
			return "DUMMY_TOOL"
		end
		return sys.program_name.basename
	end
src/toolcontext.nit:544,2--550,4