Skip to content

Commit

Permalink
bumped helper message
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Müller <60851960+toamto94@users.noreply.github.com>
  • Loading branch information
toamto94 authored and poiana committed Feb 12, 2024
1 parent 2095007 commit 2a6b5da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/driver/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,8 @@ func NewDriverInstallCmd(ctx context.Context, opt *options.Common, driver *optio
cmd.Flags().DurationVar(&o.HTTPTimeout, "http-timeout", 60*time.Second, "Timeout for each http try")
cmd.Flags().StringVar(&o.HTTPHeaders, "http-headers",
"",
"Optional comma-separated list of headers for the http GET request\n"+
"(e.g. --http-headers=\"x-emc-namespace: default,Proxy-Authenticate: Basic\").\n"+
"Not necessary if default repo is used")
"Optional comma-separated list of headers for the http GET request "+
"(e.g. --http-headers='x-emc-namespace: default,Proxy-Authenticate: Basic'). Not necessary if default repo is used")
return cmd
}

Expand Down
1 change: 1 addition & 0 deletions cmd/driver/install/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Flags:
--compile Whether to enable local compilation of drivers (default true)
--download Whether to enable download of prebuilt drivers (default true)
-h, --help help for install
--http-headers string Optional comma-separated list of headers for the http GET request (e.g. --http-headers='x-emc-namespace: default,Proxy-Authenticate: Basic'). Not necessary if default repo is used
--http-insecure Whether you want to allow insecure downloads or not
--http-timeout duration Timeout for each http try (default 1m0s)
--kernelrelease string Specify the kernel release for which to download/build the driver in the same format used by 'uname -r' (e.g. '6.1.0-10-cloud-amd64')
Expand Down

0 comments on commit 2a6b5da

Please sign in to comment.