Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 1998 23:58:26 -0500 (EST)
From:      ryany@pobox.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/8568: du(1) usage message missing "-c" option
Message-ID:  <199811040458.XAA16334@cheshire.dynip.com>

next in thread | raw e-mail | index | archive | help

>Number:         8568
>Category:       bin
>Synopsis:       du(1) usage message missing "-c" option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov  3 21:00:01 PST 1998
>Last-Modified:
>Originator:     Ryan Younce
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:
FreeBSD cheshire.dynip.com 3.0-CURRENT FreeBSD 3.0-CURRENT #10: Sat Oct 24 13:01:15 GMT 1998     ryan@cheshire.dynip.com:/usr/src/sys/compile/CHESHIRE  i386
>Description:
the "-c" option of du(1) (which displays grand total disk usage of all files
or directories passed to du) is not included in the du(1) usage message

>How-To-Repeat:
du -h
>Fix:
*** du.c.orig	Tue Nov  3 23:30:35 1998
--- du.c	Tue Nov  3 23:30:47 1998
***************
*** 263,268 ****
  usage()
  {
  	(void)fprintf(stderr,
! 		"usage: du [-H | -L | -P] [-a | -s | -d depth] [-k] [-x] [file ...]\n");
  	exit(1);
  }
--- 263,268 ----
  usage()
  {
  	(void)fprintf(stderr,
! 		"usage: du [-H | -L | -P] [-a | -s | -d depth] [-c] [-k] [-x] [file ...]\n");
  	exit(1);
  }
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811040458.XAA16334>