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:45:30 +0000 (09:45 +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 242c5ba81a6dab02a9c6aac8ceda6a8f4e15f676..30d50f8b589b73232f58fcad44843895a6323059 100755 (executable)
@@ -54,6 +54,8 @@ do
       -c) COMMENTS="true"; 
          INDENT_ARGS="-fc1 -fca -cdb -sc"; 
          continue;;
+      -nc) COMMENTS="true";
+         continue;;
     esac
   fi