From owner-freebsd-bugs@FreeBSD.ORG Tue Jun 21 13:30:03 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B899716A41C for ; Tue, 21 Jun 2005 13:30:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89BBA43D58 for ; Tue, 21 Jun 2005 13:30:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5LDU3Po050064 for ; Tue, 21 Jun 2005 13:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5LDU3P6050054; Tue, 21 Jun 2005 13:30:03 GMT (envelope-from gnats) Resent-Date: Tue, 21 Jun 2005 13:30:03 GMT Resent-Message-Id: <200506211330.j5LDU3P6050054@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, jhs@berklix.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76F0516A41C for ; Tue, 21 Jun 2005 13:24:21 +0000 (GMT) (envelope-from jhs@flat.berklix.net) Received: from tower.berklix.org (bsd.bsn.com [194.221.32.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id E040143D49 for ; Tue, 21 Jun 2005 13:24:20 +0000 (GMT) (envelope-from jhs@flat.berklix.net) Received: from js.berklix.net (p549A7C2C.dip.t-dialin.net [84.154.124.44]) (authenticated bits=0) by tower.berklix.org (8.12.9p2/8.12.9) with ESMTP id j5LDOH8o020781; Tue, 21 Jun 2005 15:24:17 +0200 (CEST) (envelope-from jhs@flat.berklix.net) Received: from fire.jhs.private (fire.jhs.private [192.168.91.41]) by js.berklix.net (8.12.11/8.12.11) with ESMTP id j5LDOGWF002128; Tue, 21 Jun 2005 15:24:16 +0200 (CEST) (envelope-from jhs@flat.berklix.net) Received: from fire.jhs.private (localhost.jhs.private [127.0.0.1]) by fire.jhs.private (8.13.1/8.13.3) with ESMTP id j5LDOFxi010845; Tue, 21 Jun 2005 15:24:16 +0200 (CEST) (envelope-from jhs@fire.jhs.private) Received: (from jhs@localhost) by fire.jhs.private (8.13.1/8.13.1/Submit) id j5LDOFaB010844; Tue, 21 Jun 2005 15:24:15 +0200 (CEST) (envelope-from jhs) Message-Id: <200506211324.j5LDOFaB010844@fire.jhs.private> Date: Tue, 21 Jun 2005 15:24:15 +0200 (CEST) From: jhs@berklix.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: jhs@berklix.com Subject: gnu/82484: patch for misleading man cvs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jhs@berklix.org List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2005 13:30:03 -0000 >Number: 82484 >Category: gnu >Synopsis: patch for misleading man cvs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 21 13:30:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: jhs@berklix.com >Release: FreeBSD 5.3-RELEASE i386 >Organization: http://berklix.com >Environment: System: FreeBSD fire.jhs.private 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Jun 7 10:40:30 CEST 2005 jhs@fire.jhs.private:/usr1/5.3-RELEASE/src/sys/i386/compile/FIRE32.small i386 >Description: Quoting man cvs` line export [-flNnQq] -r rev|-D date [-d dir] [-k kflag] module... The pipe symbol implied to me that -r & -D were mutually exclusive on export, but they're Not. Neither are -r & -D mutually exclusive on co = checkout = get, so I checked export function too & thankfully they're not mutually exclusive on export either. man cvs line should omit the | symbol & add [] twice, thus: export [-flNnQq] [-r rev] [-D date] [-d dir] [-k kflag] module... >How-To-Repeat: cd a cvs -R export -D "1-Aug-2004" sys du -s 86114 ------ cd b cvs -R export -r RELENG_5 -D "1-Aug-2004" sys du -s 65964 >Fix: man cvs > ~/tmp/cvs.man1 cd /usr/src ; patch -p 1 << EOF *** 5.3-RELEASE/contrib/cvs/man/cvs.1.orig Tue Jun 21 12:59:11 2005 --- new/contrib/cvs/man/cvs.1 Tue Jun 21 14:33:18 2005 *************** *** 1129,1135 **** .I you have changed), or that differ from the revision specified. .TP ! \fBexport\fP [\-\fBf\|lNnQq\fP] \fB\-r\fP \fIrev\fP\||\|\fB\-D\fP \fIdate\fP [\fB\-d\fP \fIdir\fP] [\fB\-k\fP \fIkflag\fP] \fImodule\fP.\|.\|. .I Requires: repository. .br --- 1129,1136 ---- .I you have changed), or that differ from the revision specified. .TP ! .\" \fBexport\fP [\-\fBf\|lNnQq\fP] \fB\-r\fP \fIrev\fP\||\|\fB\-D\fP \fIdate\fP [\fB\-d\fP \fIdir\fP] [\fB\-k\fP \fIkflag\fP] \fImodule\fP.\|.\|. ! \fBexport\fP [\-\fBf\|lNnQq\fP] [\fB\-r\fP \fIrev\fP\|] [\|\fB\-D\fP \fIdate\fP] [\fB\-d\fP \fIdir\fP] [\fB\-k\fP \fIkflag\fP] \fImodule\fP.\|.\|. .I Requires: repository. .br EOF cd /usr/src/gnu/usr.bin/cvs; make install; man cvs > ~/tmp/cvs.man2 diff -c ~/tmp/cvs.man[12]; rm ~/tmp/cvs.man[12] ! export [-flNnQq] -r rev|-D date [-d dir] [-k kflag] module... ! export [-flNnQq] [-r rev] [-D date] [-d dir] [-k kflag] module... >Release-Note: >Audit-Trail: >Unformatted: