README: Remove unnecessary 'v' from version numbers
'partay version v19.99.0' sounds 'partay version version 19.99.0' because 'v' stands for 'version'.
This commit is contained in:
parent
e43a9fbf1e
commit
c59ec842c1
10
README.md
10
README.md
@ -953,7 +953,7 @@ setting `cli.VersionFlag`, e.g.:
|
|||||||
|
|
||||||
<!-- {
|
<!-- {
|
||||||
"args": ["--print-version"],
|
"args": ["--print-version"],
|
||||||
"output": "partay version v19\\.99\\.0"
|
"output": "partay version 19\\.99\\.0"
|
||||||
} -->
|
} -->
|
||||||
``` go
|
``` go
|
||||||
package main
|
package main
|
||||||
@ -972,7 +972,7 @@ func main() {
|
|||||||
|
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = "partay"
|
app.Name = "partay"
|
||||||
app.Version = "v19.99.0"
|
app.Version = "19.99.0"
|
||||||
app.Run(os.Args)
|
app.Run(os.Args)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -981,7 +981,7 @@ Alternatively, the version printer at `cli.VersionPrinter` may be overridden, e.
|
|||||||
|
|
||||||
<!-- {
|
<!-- {
|
||||||
"args": ["--version"],
|
"args": ["--version"],
|
||||||
"output": "version=v19\\.99\\.0 revision=fafafaf"
|
"output": "version=19\\.99\\.0 revision=fafafaf"
|
||||||
} -->
|
} -->
|
||||||
``` go
|
``` go
|
||||||
package main
|
package main
|
||||||
@ -1004,7 +1004,7 @@ func main() {
|
|||||||
|
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = "partay"
|
app.Name = "partay"
|
||||||
app.Version = "v19.99.0"
|
app.Version = "19.99.0"
|
||||||
app.Run(os.Args)
|
app.Run(os.Args)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -1083,7 +1083,7 @@ func (g *genericType) String() string {
|
|||||||
func main() {
|
func main() {
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = "kənˈtrīv"
|
app.Name = "kənˈtrīv"
|
||||||
app.Version = "v19.99.0"
|
app.Version = "19.99.0"
|
||||||
app.Compiled = time.Now()
|
app.Compiled = time.Now()
|
||||||
app.Authors = []cli.Author{
|
app.Authors = []cli.Author{
|
||||||
cli.Author{
|
cli.Author{
|
||||||
|
Loading…
Reference in New Issue
Block a user