From 2765f24da8692aba186c9492fde36315fdffd122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferm=C3=ADn=20Gal=C3=A1n=20M=C3=A1rquez?= Date: Mon, 13 May 2019 09:29:41 +0200 Subject: [PATCH] FIX usage message in script --- resources/sth_db_fixer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/sth_db_fixer.py b/resources/sth_db_fixer.py index 86ffdc05..35d73a65 100644 --- a/resources/sth_db_fixer.py +++ b/resources/sth_db_fixer.py @@ -47,7 +47,7 @@ def usage(): print " --mongoUri (optional): mongo URI to connecto to DB. Default is 'http://localhost'" print " --db : database to use" print " --col : name of the raw collection to use (it is assumed that agg collection is the same plus '.aggr' suffix)" - print " --createIndex (optional): create index on {entityId: 1, entityType: 1, attrName: 1} for optimal performance in raw collection" + print " --createIndex (optional): create index for optimal performance in raw collection and agg collection (the ones described in https://github.com/telefonicaid/fiware-sth-comet/blob/master/resources/README.md)" print " --prune (optional): prune collection so only the last elements per attribute and entity are kept" print " --setExpiration (optional): set expiration in raw and agg collections to seconds" print " --dryrun (optional): if used script does a dry-run pass (i.e. without doing any modification in DB"