Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/repquota Remove traces of -D flag, which no longer ...



details:   https://anonhg.NetBSD.org/src/rev/84b0f0692b9f
branches:  trunk
changeset: 779236:84b0f0692b9f
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat May 12 19:47:26 2012 +0000

description:
Remove traces of -D flag, which no longer does anything.

diffstat:

 usr.sbin/repquota/repquota.8 |  12 +++++-------
 usr.sbin/repquota/repquota.c |  10 +++-------
 2 files changed, 8 insertions(+), 14 deletions(-)

diffs (88 lines):

diff -r 704755164a66 -r 84b0f0692b9f usr.sbin/repquota/repquota.8
--- a/usr.sbin/repquota/repquota.8      Sat May 12 18:42:08 2012 +0000
+++ b/usr.sbin/repquota/repquota.8      Sat May 12 19:47:26 2012 +0000
@@ -29,7 +29,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)repquota.8   8.1 (Berkeley) 6/6/93
-.\"    $NetBSD: repquota.8,v 1.15 2012/02/13 13:37:45 wiz Exp $
+.\"    $NetBSD: repquota.8,v 1.16 2012/05/12 19:47:26 dholland Exp $
 .\"
 .Dd February 13, 2012
 .Dt REPQUOTA 8
@@ -39,17 +39,17 @@
 .Nd summarize quotas for a file system
 .Sh SYNOPSIS
 .Nm
-.Op Fl Dghuv
+.Op Fl ghuv
 .Ar file-system Ar ...
 .Nm
-.Op Fl Dghuv
+.Op Fl ghuv
 .Fl a
 .Nm
 .Fl x
-.Op Fl Dgu
+.Op Fl gu
 .Ar file-system
 .Nm quotadump
-.Op Fl Dgu
+.Op Fl gu
 .Ar file-system
 .Sh DESCRIPTION
 .Nm
@@ -60,8 +60,6 @@
 .Bl -tag -width Ds
 .It Fl a
 Print the quotas of all the mounted file systems.
-.It Fl D
-Debug: print plist sent to and received from kernel.
 .It Fl g
 Print only group quotas (the default is to print both
 group and user quotas if they exist).
diff -r 704755164a66 -r 84b0f0692b9f usr.sbin/repquota/repquota.c
--- a/usr.sbin/repquota/repquota.c      Sat May 12 18:42:08 2012 +0000
+++ b/usr.sbin/repquota/repquota.c      Sat May 12 19:47:26 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: repquota.c,v 1.43 2012/02/13 01:35:09 dholland Exp $   */
+/*     $NetBSD: repquota.c,v 1.44 2012/05/12 19:47:26 dholland Exp $   */
 
 /*
  * Copyright (c) 1980, 1990, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)repquota.c 8.2 (Berkeley) 11/22/94";
 #else
-__RCSID("$NetBSD: repquota.c,v 1.43 2012/02/13 01:35:09 dholland Exp $");
+__RCSID("$NetBSD: repquota.c,v 1.44 2012/05/12 19:47:26 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -95,7 +95,6 @@
 
 static int     vflag = 0;              /* verbose */
 static int     aflag = 0;              /* all file systems */
-static int     Dflag = 0;              /* debug */
 static int     hflag = 0;              /* humanize */
 static int     xflag = 0;              /* export */
 
@@ -133,7 +132,7 @@
                xflag = 1;
        }
 
-       while ((ch = getopt(argc, argv, "Daguhvx")) != -1) {
+       while ((ch = getopt(argc, argv, "aguhvx")) != -1) {
                switch(ch) {
                case 'a':
                        aflag++;
@@ -150,9 +149,6 @@
                case 'v':
                        vflag++;
                        break;
-               case 'D':
-                       Dflag++;
-                       break;
                case 'x':
                        xflag++;
                        break;



Home | Main Index | Thread Index | Old Index