From 01a18e3ba2a0766cb40287701a342634b99a8f94 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Fri, 8 Mar 2024 15:43:17 -0500 Subject: [PATCH] lint; typo (#432) --- cmd/zrok/reserve.go | 2 +- cmd/zrok/sharePrivate.go | 2 +- cmd/zrok/sharePublic.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/zrok/reserve.go b/cmd/zrok/reserve.go index 7c5a9ba9..53341779 100644 --- a/cmd/zrok/reserve.go +++ b/cmd/zrok/reserve.go @@ -48,7 +48,7 @@ func newReserveCommand() *reserveCommand { cmd.Flags().DurationVar(&command.oauthCheckInterval, "oauth-check-interval", 3*time.Hour, "Maximum lifetime for OAuth authentication; reauthenticate after expiry") cmd.MarkFlagsMutuallyExclusive("basic-auth", "oauth-provider") cmd.Flags().BoolVar(&command.closed, "closed", false, "Enable closed permission mode (see --access-grant)") - cmd.Flags().StringArrayVar(&command.accessGrants, "access-grant", []string{}, "zrok accounts that area allowed to access this share (see --closed)") + cmd.Flags().StringArrayVar(&command.accessGrants, "access-grant", []string{}, "zrok accounts that are allowed to access this share (see --closed)") cmd.Run = command.run return command diff --git a/cmd/zrok/sharePrivate.go b/cmd/zrok/sharePrivate.go index 11838227..cdc4c7fc 100644 --- a/cmd/zrok/sharePrivate.go +++ b/cmd/zrok/sharePrivate.go @@ -46,7 +46,7 @@ func newSharePrivateCommand() *sharePrivateCommand { cmd.Flags().BoolVar(&command.headless, "headless", false, "Disable TUI and run headless") cmd.Flags().BoolVar(&command.insecure, "insecure", false, "Enable insecure TLS certificate validation for ") cmd.Flags().BoolVar(&command.closed, "closed", false, "Enable closed permission mode (see --access-grant)") - cmd.Flags().StringArrayVar(&command.accessGrants, "access-grant", []string{}, "zrok accounts that area allowed to access this share (see --closed)") + cmd.Flags().StringArrayVar(&command.accessGrants, "access-grant", []string{}, "zrok accounts that are allowed to access this share (see --closed)") cmd.Run = command.run return command } diff --git a/cmd/zrok/sharePublic.go b/cmd/zrok/sharePublic.go index a07e0dc5..931365a5 100644 --- a/cmd/zrok/sharePublic.go +++ b/cmd/zrok/sharePublic.go @@ -50,7 +50,7 @@ func newSharePublicCommand() *sharePublicCommand { cmd.Flags().BoolVar(&command.headless, "headless", false, "Disable TUI and run headless") cmd.Flags().BoolVar(&command.insecure, "insecure", false, "Enable insecure TLS certificate validation for ") cmd.Flags().BoolVar(&command.closed, "closed", false, "Enable closed permission mode (see --access-grant)") - cmd.Flags().StringArrayVar(&command.accessGrants, "access-grant", []string{}, "zrok accounts that area allowed to access this share (see --closed)") + cmd.Flags().StringArrayVar(&command.accessGrants, "access-grant", []string{}, "zrok accounts that are allowed to access this share (see --closed)") cmd.Flags().StringArrayVar(&command.basicAuth, "basic-auth", []string{}, "Basic authentication users (,...)") cmd.Flags().StringVar(&command.oauthProvider, "oauth-provider", "", "Enable OAuth provider [google, github]")