Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Add warning if '-refresh' is invoked on all project view
Browse files Browse the repository at this point in the history
  • Loading branch information
briancain committed Aug 24, 2021
1 parent 20338c5 commit 62a00c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/cli/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ func (c *StatusCommand) RefreshApplicationStatus(projectTarget, appTarget string
// Determine project locality
// Do the Work (local or remote)
if c.flagAllProjects {
// error message that this is not supported
c.ui.Output("This command does not support refreshing statuses for all "+
"defined projects in Waypoint. Use the project argument to narrow down "+
"which projects you hope to refresh a status on.", terminal.WithWarningStyle())
return nil
}

Expand Down

0 comments on commit 62a00c0

Please sign in to comment.