Skip to content

Commit 2b66e1e

Browse files
committed
chore(limits-cmd): revert unset cmd changes
1 parent 05d13a6 commit 2b66e1e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

parser/limits.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,12 @@ func limitUnset(argv []string, cmdr cmd.Commander) error {
118118
usage := `
119119
Unsets resource limits for an application.
120120
121-
Usage: deis limits:unset [options] [--memory | --cpu] <type>=<value>...
121+
Usage: deis limits:unset [options] [--memory | --cpu] <type>...
122122
123123
Arguments:
124124
<type>
125125
the process type as defined in your Procfile, such as 'web' or 'worker'.
126126
Note that Dockerfile apps have a default 'cmd' process type.
127-
<value>
128-
the number of limits or requests/limits value.
129127
130128
Options:
131129
-a --app=<app>
@@ -143,7 +141,7 @@ Options:
143141
}
144142

145143
app := safeGetValue(args, "--app")
146-
limits := args["<type>=<value>"].([]string)
144+
limits := args["<type>"].([]string)
147145
limitType := "memory"
148146

149147
if args["--cpu"].(bool) {

0 commit comments

Comments
 (0)