Permalink
Browse files

Default gonit status to gonit status all.

Change-Id: I1d06aafcf8e450f0608bda3b71b85186ede60502
  • Loading branch information...
1 parent 5223264 commit d33e67bbe1dddef05fff6fa53faf4fa5e387c187 @lisbakke lisbakke committed Sep 25, 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 d33e67b

Please sign in to comment.