Skip to content

Commit 8f5457a

Browse files
committed
More usage template cleanup
1 parent 6ecf899 commit 8f5457a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func Run(ctx context.Context, cliargs []string) error {
2626
args := &Args{}
2727
v := viper.New()
2828
c := &cobra.Command{
29-
Use: text.CommandName + " [flags] [DSN]",
29+
Use: text.CommandName + " [flags]... [DSN]",
3030
Short: text.Short(),
3131
Version: text.CommandVersion,
3232
Args: cobra.RangeArgs(0, 1),

text/text.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ var (
9797
{{.UseLine}}
9898
9999
Arguments:
100-
DSN database url
100+
DSN database url or connection name
101101
102102
Flags:
103103
{{.LocalFlags.FlagUsages | trimTrailingWhitespaces}}

0 commit comments

Comments
 (0)