Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tiup/tiup-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Components Manifest:
use "tiup list" to fetch the latest components manifest

Flags:
-B, --binary <component>[:version] Print binary path of a specific version of a component <component>[:version]
--binary <component>[:version] Print binary path of a specific version of a component <component>[:version]
and the latest version installed will be selected if no version specified
--binpath string Specify the binary path of component instance
-h, --help help for tiup
Expand Down
6 changes: 3 additions & 3 deletions tiup/tiup-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ You can use the `--help` command to get the information of a specific command. T

## Options

### -B, --binary
### --binary

- If you enable this option, the specified binary file path is printed.

- Executing `tiup -B/--binary <component>` will have the path of the latest stable installed `<component>` component printed. If `<component>` is not installed, an error is returned.
- Executing `tiup -B/--binary <component>:<version>` will have the path of the installed `<component>` component's `<version>` printed. If this `<version>` is not printed, an error is returned.
- Executing `tiup --binary <component>` will have the path of the latest stable installed `<component>` component printed. If `<component>` is not installed, an error is returned.
- Executing `tiup --binary <component>:<version>` will have the path of the installed `<component>` component's `<version>` printed. If this `<version>` is not printed, an error is returned.

- Data type: `BOOLEAN`
- This option is disabled by default and its default value is `false`. To enable this option, you can add this option to the command, and pass the `true` value or do not pass any value.
Expand Down