From 1962c1c4006bee14a90c0ff7dd1038b0c82fccff Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Tue, 16 Sep 2014 12:06:07 -0700 Subject: [PATCH] Maybe if I actually document this people will stop asking about it... --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 90137a7..5761761 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,13 @@ analysis and it does not compile the code. The "--styleCheck" or "-S" option runs some basic static analysis checks against the given source files. +#### Configuration +By default all checks are enabled. Individual checks can be enabled or disabled +by using a configuration file. Running ```dscanner --defaultConfig``` will +generate a default configuration file and print the file's location. The +"--config" option will allow you to specify the path to a configuration file if +you do not want to use the one created by the "--defaultConfig" option. + #### Implemented checks * Old alias syntax (i.e "alias a b;" should be replaced with "alias b = a;"). * Implicit concatenation of string literals.