X-Git-Url: http://nitlanguage.org diff --git a/src/toolcontext.nit b/src/toolcontext.nit index d25d3fd..dd1d2c1 100644 --- a/src/toolcontext.nit +++ b/src/toolcontext.nit @@ -213,14 +213,14 @@ class ToolContext # A multi-line string is recommmended. # # eg. `"Usage: tool [OPTION]... [FILE]...\nDo some things."` - var tooldescription: String writable = "Usage: [OPTION]... [ARG]..." + var tooldescription: String = "Usage: [OPTION]... [ARG]..." is writable # Does `process_options` should accept an empty sequence of arguments. # ie. nothing except options. # Is `false` by default. # # If required, if should be set by the client before calling `process_options` - var accept_no_arguments writable = false + var accept_no_arguments = false is writable # print the full usage of the tool. # Is called by `process_option` on `--help`. @@ -300,7 +300,7 @@ class ToolContext end # The identified root directory of the Nit project - var nit_dir: nullable String + var nit_dir: nullable String = null private fun compute_nit_dir: nullable String do