@@ -213,7 +213,7 @@ public static function allModels() {
213213 return new Command ("all-models " , "" , "Generates all models from database. " , [
214214 "create-all-models "
215215 ], [
216- 'd ' => Parameter::create ('database ' , 'The database connection to use ' , [], 'default ' ),
216+ 'd ' => Parameter::create ('database ' , 'The database connection to use (offset) ' , [], 'default ' ),
217217 'a ' => Parameter::create ('access ' , 'The default access to the class members ' , [], 'private ' )
218218 ], [
219219 'Ubiquity all-models ' ,
@@ -411,10 +411,12 @@ public static function infoModels() {
411411 return new Command ("info:models " , "" , "Returns the models meta datas. " , [
412412 "info-models "
413413 ], [
414+ 'd ' => Parameter::create ('database ' , 'The database connection to use (offset) ' , [], 'default ' ),
414415 "m " => Parameter::create ("models " , "The models on which the information is sought. " , []),
415416 "f " => Parameter::create ("fields " , "The fields to display in the table. " , [])
416417 ], [
417- 'Gets metadatas for all models ' => 'Ubiquity info:models ' ,
418+ 'Gets metadatas for all models in default db ' => 'Ubiquity info:models ' ,
419+ 'Gets metadatas for all models in messagerie db ' => 'Ubiquity info:models -d=messagerie ' ,
418420 'Gets metadatas for User and Group models ' => 'Ubiquity info:models -m=User,Group ' ,
419421 'Gets all primary keys for all models ' => 'Ubiquity info:models -f=#primaryKeys '
420422 ], 'models ' );
0 commit comments