Skip to content

Commit

Permalink
use the executable name in the cmd usage doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ganigeorgiev committed Dec 5, 2022
1 parent 599c542 commit 45b72dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pocketbase.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func NewWithConfig(config Config) *PocketBase {

pb := &PocketBase{
RootCmd: &cobra.Command{
Use: "pocketbase",
Use: filepath.Base(os.Args[0]),
Short: "PocketBase CLI",
Version: Version,
FParseErrWhitelist: cobra.FParseErrWhitelist{
Expand Down

0 comments on commit 45b72dd

Please sign in to comment.