Skip to content

fix: Require an argument for speedtest #3946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Require an argument for speedtest
  • Loading branch information
kylecarbs committed Sep 7, 2022
commit 984b677983a9d5bf415ed02eb8cf636ffc9be06c
1 change: 1 addition & 0 deletions cli/speedtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func speedtest() *cobra.Command {
cmd := &cobra.Command{
Annotations: workspaceCommand,
Use: "speedtest <workspace>",
Args: cobra.ExactArgs(1),
Short: "Run a speed test from your machine to the workspace.",
RunE: func(cmd *cobra.Command, args []string) error {
ctx, cancel := context.WithCancel(cmd.Context())
Expand Down