From 62107d054aaf1fda605528319a754ee47e95f909 Mon Sep 17 00:00:00 2001 From: Jean Canazzi Date: Thu, 2 Jul 2020 14:44:08 +0800 Subject: [PATCH] Update README.md with new include-system option --- README.md | 1 + cli.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index de0da4d..3921850 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Usage: -r, --raw Shows the exact list of types with frequency instead of the most frequent type only. -l, --limit Number of records to parse to get the schema, default is 100. -n, --dont-follow-fk Don't follow specified foreign key. Can be simply "fieldName" (all collections) or "collectionName:fieldName" (only for given collection). + -s, --include-system string Analyzes system collections as well. ``` diff --git a/cli.js b/cli.js index 258b8a1..2c79279 100644 --- a/cli.js +++ b/cli.js @@ -44,7 +44,7 @@ const printUsage = function () { console.log('\t\t-r, --raw\tShows the exact list of types with frequency instead of the most frequent type only.'); console.log('\t\t-l, --limit\tChanges the amount of items to parse from the collections. Default is 100.'); console.log("\t\t-n, --dont-follow-fk string\tDon't follow specified foreign key. Can be simply \"fieldName\" (all collections) or \"collectionName:fieldName\" (only for given collection)."); - console.log("\t\t-n, --include-system string\tAnalyzes system collections as well."); + console.log("\t\t-s, --include-system string\tAnalyzes system collections as well."); console.log(''); console.log('Enjoy! :)'); console.log('');