Skip to content

Commit

Permalink
Document -export_debug option in the help output
Browse files Browse the repository at this point in the history
Fixes #5903.
  • Loading branch information
akien-mga committed Oct 19, 2017
1 parent edd9e35 commit e3a1bf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ gmon.out

# Misc
.DS_Store
logs/

# for projects that use SCons for building: http://http://www.scons.org/
.sconsign.dblite
Expand Down
1 change: 1 addition & 0 deletions main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ void Main::print_help(const char *p_binary) {
OS::get_singleton()->print("\t-optimize <file> : Save an optimized copy of scene to <file>.\n");
OS::get_singleton()->print("\t-optimize_preset <preset> : Use a given preset for optimization.\n");
OS::get_singleton()->print("\t-export <target> : Export the project using given export target.\n");
OS::get_singleton()->print("\t-export_debug : Use together with -export, enables debug mode for the template.\n");

This comment has been minimized.

Copy link
@DanielKinsman

DanielKinsman Oct 19, 2017

Contributor

I found that it needs to be used instead of -export, not together with it.

This comment has been minimized.

Copy link
@akien-mga

akien-mga Oct 20, 2017

Author Member

Indeed, checking the code they both do the same thing, the only different is that export_debug sets the export_debug boolean to true.

I wonder if we should change that in master though so that it works as described?

#endif
}

Expand Down

0 comments on commit e3a1bf2

Please sign in to comment.