Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
Add the mention of ‘-v’ flag in the usage string.
  • Loading branch information
looshch committed Nov 5, 2024
1 parent b8abba9 commit 4eee4db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import (
const (
errorLogPrefix = "error: "
logFlag = 0
currentVersion = "1.3.1"
currentVersion = "1.3.2"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion io.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type config struct {
paths []string
}

const usageText = "usage: gouse [-w] [file paths...]"
const usageText = "usage: gouse [-v] [-w] [file paths...]"

// parseArgs accepts args, parses them and returns config, parsing message and
// err. flag.ErrHelp is a special error which is returned on -h, -help, --help
Expand Down

0 comments on commit 4eee4db

Please sign in to comment.