Skip to content

Commit 4debc34

Browse files
committed
Update command info for init-cache (-t=controllers, not controller)
1 parent 40b5072 commit 4debc34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/devtools/cmd/Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ public static function allModels(){
127127

128128
public static function clearCache(){
129129
return new Command("clear-cache", "","Clear models cache.",[],["t"=>Parameter::create("type", "Defines the type of cache to reset.",
130-
["all","annotations","controller","rest","models","queries","views"])],
130+
["all","annotations","controllers","rest","models","queries","views"])],
131131
['Clear all caches'=>'Ubiquity clear-cache -t=all',
132132
'Clear models cache'=>'Ubiquity clear-cache -t=models'
133133
]);
134134
}
135135

136136
public static function initCache(){
137137
return new Command("init-cache", "","Init the cache for models, router, rest.",[],["t"=>Parameter::create("type", "Defines the type of cache to create.",
138-
["all","controller","rest","models"])],
138+
["all","controllers","rest","models"])],
139139
['Init all caches'=>'Ubiquity init-cache',
140140
'Init models cache'=>'Ubiquity init-cache -t=models'
141141
]

0 commit comments

Comments
 (0)