1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-02-10 04:33:47 +02:00

use the executable name in the cmd usage doc

This commit is contained in:
Gani Georgiev 2022-12-05 15:24:02 +02:00
parent 599c542c5a
commit 45b72dd6b3

View File

@ -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{