File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1616
1717func RootCmd () * cobra.Command {
1818 cmd := & cobra.Command {
19- Use : "preflight [url-or-file ]" ,
19+ Use : "preflight [url]" ,
2020 Args : cobra .MinimumNArgs (1 ),
2121 Short : "Run and retrieve preflight checks in a cluster" ,
2222 Long : `A preflight check is a set of validations that can and should be run to ensure
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ import (
1717
1818func Analyze () * cobra.Command {
1919 cmd := & cobra.Command {
20- Use : "analyze [url-or-file ]" ,
20+ Use : "analyze [url]" ,
2121 Args : cobra .MinimumNArgs (1 ),
2222 Short : "analyze a support bundle" ,
23- Long : `Used to analyze an already downloaded support-bundle ` ,
23+ Long : `Analyze a support bundle using the Analyzer definitions provided ` ,
2424 PreRun : func (cmd * cobra.Command , args []string ) {
2525 viper .BindPFlag ("bundle" , cmd .Flags ().Lookup ("bundle" ))
2626 viper .BindPFlag ("output" , cmd .Flags ().Lookup ("output" ))
@@ -69,7 +69,7 @@ func Analyze() *cobra.Command {
6969 },
7070 }
7171
72- cmd .Flags ().String ("bundle" , "" , "Filename of the support bundle to analyze" )
72+ cmd .Flags ().String ("bundle" , "" , "filename of the support bundle to analyze" )
7373 cmd .MarkFlagRequired ("bundle" )
7474 cmd .Flags ().String ("output" , "" , "output format: json, yaml" )
7575 cmd .Flags ().String ("compatibility" , "" , "output compatibility mode: support-bundle" )
Original file line number Diff line number Diff line change 1717
1818func RootCmd () * cobra.Command {
1919 cmd := & cobra.Command {
20- Use : "troubleshoot [url-or-file ]" ,
20+ Use : "troubleshoot [url]" ,
2121 Args : cobra .MinimumNArgs (1 ),
2222 Short : "Generate and manage support bundles" ,
2323 Long : `A support bundle is an archive of files, output, metrics and state
You can’t perform that action at this time.
0 commit comments