diff --git a/tiup/tiup-overview.md b/tiup/tiup-overview.md index 1f3fc746d03b1..9a3d09b9ac46f 100644 --- a/tiup/tiup-overview.md +++ b/tiup/tiup-overview.md @@ -70,7 +70,7 @@ Components Manifest: use "tiup list" to fetch the latest components manifest Flags: - -B, --binary [:version] Print binary path of a specific version of a component [:version] + --binary [:version] Print binary path of a specific version of a 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 diff --git a/tiup/tiup-reference.md b/tiup/tiup-reference.md index a95ae72fdcd07..ecf60c95a0b88 100644 --- a/tiup/tiup-reference.md +++ b/tiup/tiup-reference.md @@ -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 ` will have the path of the latest stable installed `` component printed. If `` is not installed, an error is returned. - - Executing `tiup -B/--binary :` will have the path of the installed `` component's `` printed. If this `` is not printed, an error is returned. + - Executing `tiup --binary ` will have the path of the latest stable installed `` component printed. If `` is not installed, an error is returned. + - Executing `tiup --binary :` will have the path of the installed `` component's `` printed. If this `` 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.