Permalink
Browse files

Merge "Default gonit status to gonit status all."

  • Loading branch information...
2 parents 81ee759 + d33e67b commit 13d0ffd2384d0dc87f35e16a63c8006538fe7c2b @lisbakke lisbakke committed with Gerrit Code Review Sep 26, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 cli.go
View
3 cli.go
@@ -118,6 +118,9 @@ func RpcArgs(method string, name string, isGroup bool) (string, string) {
}
method = method + kind
+ } else if method == "status" {
+ // Default `gonit status` to `gonit status all`
+ method = method + "All"
}
return ucfirst(method), name

0 comments on commit 13d0ffd

Please sign in to comment.