瀏覽代碼

Update -help to list correct paths searched within PPROF_BINARY_PATH. (#355)

The code was updated in #335 but the doc wasn't updated. Also the doc
didn't include $path which is searched as well, see locateBinaries in
internal/driver/fetch.go.
Alexey Alexandrov 7 年之前
父節點
當前提交
082fd80644
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      internal/driver/cli.go

+ 1
- 1
internal/driver/cli.go 查看文件

316
 	"   PPROF_TOOLS        Search path for object-level tools\n" +
316
 	"   PPROF_TOOLS        Search path for object-level tools\n" +
317
 	"   PPROF_BINARY_PATH  Search path for local binary files\n" +
317
 	"   PPROF_BINARY_PATH  Search path for local binary files\n" +
318
 	"                      default: $HOME/pprof/binaries\n" +
318
 	"                      default: $HOME/pprof/binaries\n" +
319
-	"                      finds binaries by $name and $buildid/$name\n" +
319
+	"                      searches $name, $path, $buildid/$name, $path/$buildid\n" +
320
 	"   * On Windows, %USERPROFILE% is used instead of $HOME"
320
 	"   * On Windows, %USERPROFILE% is used instead of $HOME"