svn commit: r291302 - head/tools/tools/indent_wrapper

Hans Petter Selasky hselasky at FreeBSD.org
Wed Nov 25 14:51:46 UTC 2015


Author: hselasky
Date: Wed Nov 25 14:51:44 2015
New Revision: 291302
URL: https://svnweb.freebsd.org/changeset/base/291302

Log:
  Update usage:
  - Add missing description of "-c" option.
  - Add one more usage example.

Modified:
  head/tools/tools/indent_wrapper/indent_wrapper.c

Modified: head/tools/tools/indent_wrapper/indent_wrapper.c
==============================================================================
--- head/tools/tools/indent_wrapper/indent_wrapper.c	Wed Nov 25 14:45:43 2015	(r291301)
+++ head/tools/tools/indent_wrapper/indent_wrapper.c	Wed Nov 25 14:51:44 2015	(r291302)
@@ -354,13 +354,15 @@ usage(void)
 	    "\t" "-v        Increase verbosity\n"
 	    "\t" "-d        Check output from git diff\n"
 	    "\t" "-D        Check output from svn diff\n"
+	    "\t" "-c <cmd>  Set custom command to produce diff\n"
 	    "\t" "-g <hash> Check output from git hash\n"
 	    "\t" "-s <rev>  Check output from svn revision\n"
 	    "\t" "-t <tool> Launch external diff tool\n"
 	    "\n"
 	    "Examples:\n"
 	    "\t" "indent_wrapper -D\n"
-	    "\t" "indent_wrapper -D -t meld\n");
+	    "\t" "indent_wrapper -D -t meld\n"
+	    "\t" "indent_wrapper -D -t \"diff -u\"\n");
 	exit(EX_SOFTWARE);
 }
 


More information about the svn-src-head mailing list