Skip to content

Commit 587d6b9

Browse files
authored
Merge pull request #40 from replicatedhq/run-error
collect support bundle without subcommand
2 parents daa03e8 + ff463e3 commit 587d6b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/troubleshoot/cli/root.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
func RootCmd() *cobra.Command {
1616
cmd := &cobra.Command{
1717
Use: "troubleshoot [url]",
18+
Args: cobra.MinimumNArgs(1),
1819
Short: "Generate and manage support bundles",
1920
Long: `A support bundle is an archive of files, output, metrics and state
2021
from a server that can be used to assist when troubleshooting a server.`,

0 commit comments

Comments
 (0)