From owner-cvs-all@FreeBSD.ORG Mon Feb 9 13:48:51 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2EFF16A4CE; Mon, 9 Feb 2004 13:48:51 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBF3E43D1D; Mon, 9 Feb 2004 13:48:51 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i19Lmp0B043470; Mon, 9 Feb 2004 13:48:51 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i19LmpWu043469; Mon, 9 Feb 2004 13:48:51 -0800 (PST) (envelope-from bde) Message-Id: <200402092148.i19LmpWu043469@repoman.freebsd.org> From: Bruce Evans Date: Mon, 9 Feb 2004 13:48:51 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/indent args.c indent.1 indent.c indent_globs.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 21:48:52 -0000 bde 2004/02/09 13:48:51 PST FreeBSD src repository Modified files: usr.bin/indent args.c indent.1 indent.c indent_globs.h Log: Added an option -ldi to control indentation of local variable names. The default is to be backwards compatible and non-KNF (use the same indentation for locals as for globals; -ldi0 gives KNF indentation for locals (none)). The indentation for globals also applies to struct member names in local declatations. The indentation of variable names in multi-line declarations is broken in various ways and this commit gives some new variations. indent.1: Also clarified the description of -di. Revision Changes Path 1.12 +1 -0 src/usr.bin/indent/args.c 1.16 +11 -2 src/usr.bin/indent/indent.1 1.22 +14 -2 src/usr.bin/indent/indent.c 1.9 +1 -0 src/usr.bin/indent/indent_globs.h