Test option -nc
authorDr. Stephen Henson <steve@openssl.org>
Tue, 20 Jan 2015 18:49:04 +0000 (18:49 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 22 Jan 2015 09:20:09 +0000 (09:20 +0000)
Add option -nc which sets COMMENTS=true but disables all indent comment
reformatting options.

Reviewed-by: Tim Hudson <tjh@openssl.org>
util/openssl-format-source

index 242c5ba..30d50f8 100755 (executable)
@@ -54,6 +54,8 @@ do
       -c) COMMENTS="true"; 
          INDENT_ARGS="-fc1 -fca -cdb -sc"; 
          continue;;
+      -nc) COMMENTS="true";
+         continue;;
     esac
   fi