doc: small adjust to make them consistent

This commit is contained in:
jichangjun 2020-06-07 10:48:07 +08:00
parent 9ce7b168ea
commit 4e614b18d1
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ var buildCmd = &cobra.Command{
Long: `
First of all, this build command will copy the project code and its necessary dependencies to a temporary directory, then do cover for the target in this temporary directory, finally go build command will be executed and binaries generated to their original place.
To pass origial go build flags to goc command, place them after "--", see examples below for reference.
To pass original go build flags to goc command, place them after "--", see examples below for reference.
`,
Example: `
# Build the current binary with cover variables injected. The binary will be generated in the current folder.

View File

@ -33,7 +33,7 @@ import (
var diffCmd = &cobra.Command{
Use: "diff",
Short: "do coverage profile diff analysis, it can also work with prow and post comments to github pull request if needed",
Short: "Do coverage profile diff analysis, it can also work with prow and post comments to github pull request if needed",
Example: ` # Diff two local coverage profile and display
goc diff --new-profile=<xxxx> --base-profile=<xxxx>