浏览代码

Moved --variant description under bundle command

Dan Engelbrecht 7 年之前
父节点
当前提交
92b8d2f30c
共有 1 个文件被更改,包括 2 次插入5 次删除
  1. 2 5
      docs/en/manuals/bob.md

+ 2 - 5
docs/en/manuals/bob.md

@@ -73,10 +73,10 @@ Available commands:
 : Delete all files in the build directory.
 
 `build`
-: Builds all project data. Add the "--archive" option to build a data archive file ("game.darc" in the build directory).
+: Builds all project data. Add the `--archive` option to build a data archive file ("game.darc" in the build directory).
 
 `bundle`
-: Creates a platform specific application bundle. Bundling requires that a built archive is present (`build` with the `--archive` option) and that a target platform is specified (with the `--platform` option). Bob creates the bundle in the output directory unless a different directory is specified with the `--bundle-output` option. The bundle is named according to the project name setting in *game.project*.
+: Creates a platform specific application bundle. Bundling requires that a built archive is present (`build` with the `--archive` option) and that a target platform is specified (with the `--platform` option). Bob creates the bundle in the output directory unless a different directory is specified with the `--bundle-output` option. The bundle is named according to the project name setting in *game.project*. The `--variant` specifies which type of executable to build when bundling and it together with `--strip-executable` option replaces the `--debug` option. If no `--variant` is specified you will get a release version of the engine (stripped of symbols on Android and iOS). Setting `--variant` to debug and omitting `--strip-executable` yields the same type of executable as `--debug` used to do.
 
 `resolve`
 : Resolve all external library dependencies.
@@ -104,9 +104,6 @@ Available platforms:
 `js-web`
 : HTML5
 
-`--variant`
-: The variant specifies which type of executable to build when bundling and it together with "--strip-executable" option replaces the "--debug" option. If no variant is specified you will get a release version of the engine (stripped of symbols on Android and iOS). Setting "--variant" to debug and not specifying "--strip-executable" yields the same type of executable as "--debug" used to do.
-
 By default, Bob looks in the current directory for a project to build. If you change the current dir to a Defold project and invoke bob, it builds the data for the project in the default output directory *build/default*.
 
 ```sh