From owner-svn-src-all@FreeBSD.ORG Wed Nov 20 22:11:43 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4E3B79A; Wed, 20 Nov 2013 22:11:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A42F92D5C; Wed, 20 Nov 2013 22:11:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAKMBhsU093187; Wed, 20 Nov 2013 22:11:43 GMT (envelope-from dteske@svn.freebsd.org) Received: (from dteske@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAKMBhSx093185; Wed, 20 Nov 2013 22:11:43 GMT (envelope-from dteske@svn.freebsd.org) Message-Id: <201311202211.rAKMBhSx093185@svn.freebsd.org> From: Devin Teske Date: Wed, 20 Nov 2013 22:11:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258406 - head/usr.sbin/bsdconfig/includes X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 22:11:43 -0000 Author: dteske Date: Wed Nov 20 22:11:42 2013 New Revision: 258406 URL: http://svnweb.freebsd.org/changeset/base/258406 Log: Make `-d' implicitly enable `-f' for simplification. Modified: head/usr.sbin/bsdconfig/includes/USAGE head/usr.sbin/bsdconfig/includes/includes Modified: head/usr.sbin/bsdconfig/includes/USAGE ============================================================================== --- head/usr.sbin/bsdconfig/includes/USAGE Wed Nov 20 21:59:24 2013 (r258405) +++ head/usr.sbin/bsdconfig/includes/USAGE Wed Nov 20 22:11:42 2013 (r258406) @@ -28,7 +28,7 @@ Usage: bsdconfig @PROGRAM_NAME@ [OPTIONS OPTIONS: -a Always use color even when output is not to a terminal. - -d Print the description for each function selected. + -d Print description for each function selected. Implies `-f'. -f Show functions for selected includes. -F pattern If `-f', only print functions matching pattern. Without `-f' @@ -68,4 +68,4 @@ EXAMPLES: Show descriptions of each of the `show' functions: - bsdconfig @PROGRAM_NAME@ -dfF show + bsdconfig @PROGRAM_NAME@ -dF show Modified: head/usr.sbin/bsdconfig/includes/includes ============================================================================== --- head/usr.sbin/bsdconfig/includes/includes Wed Nov 20 21:59:24 2013 (r258405) +++ head/usr.sbin/bsdconfig/includes/includes Wed Nov 20 22:11:42 2013 (r258406) @@ -127,7 +127,7 @@ show_include() while getopts adfF:hn flag; do case "$flag" in a) USE_COLOR=1 ;; - d) SHOW_DESC=1 ;; + d) SHOW_DESC=1 SHOW_FUNCS=1 ;; f) SHOW_FUNCS=1 ;; F) FUNC_PATTERN="$OPTARG" ;; n) USE_COLOR= ;;