diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-11 04:22:48 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-11 04:22:48 +0200 |
commit | f49914dd1785626dd0eb6bfd122b139fef5f934d (patch) | |
tree | cfb833fa7e9bd3ce46317ada660eeafc121a530d | |
parent | f1d9880006cf713597c1fc573f83db75062712c9 (diff) | |
download | minetest-f49914dd1785626dd0eb6bfd122b139fef5f934d.tar.gz minetest-f49914dd1785626dd0eb6bfd122b139fef5f934d.tar.bz2 minetest-f49914dd1785626dd0eb6bfd122b139fef5f934d.zip |
--verbose, not --info-on-stderr
-rw-r--r-- | src/main.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3f75391d8..81905109d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1115,7 +1115,9 @@ int main(int argc, char *argv[]) allowed_options.insert("map-dir", ValueSpec(VALUETYPE_STRING, "Map directory (where everything in the world is stored)")); allowed_options.insert("info-on-stderr", ValueSpec(VALUETYPE_FLAG, - "Print debug information to console")); + "Print more information to console (deprecated; use --verbose)")); + allowed_options.insert("verbose", ValueSpec(VALUETYPE_FLAG, + "Print more information to console")); #ifndef SERVER allowed_options.insert("speedtests", ValueSpec(VALUETYPE_FLAG, "Run speed tests")); @@ -1162,7 +1164,9 @@ int main(int argc, char *argv[]) Low-level initialization */ - if(cmd_args.getFlag("info-on-stderr") || cmd_args.getFlag("speedtests")) + if(cmd_args.getFlag("verbose") || + cmd_args.getFlag("info-on-stderr") || + cmd_args.getFlag("speedtests")) log_add_output(&main_stderr_log_out, LMT_INFO); porting::signal_handler_init(); |