Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/quota Remove traces of -D option, which no longer do...
details: https://anonhg.NetBSD.org/src/rev/34404a9d4ba4
branches: trunk
changeset: 779237:34404a9d4ba4
user: dholland <dholland%NetBSD.org@localhost>
date: Sat May 12 19:53:21 2012 +0000
description:
Remove traces of -D option, which no longer does anything.
diffstat:
usr.bin/quota/quota.1 | 12 +++++-------
usr.bin/quota/quota.c | 12 ++++--------
2 files changed, 9 insertions(+), 15 deletions(-)
diffs (96 lines):
diff -r 84b0f0692b9f -r 34404a9d4ba4 usr.bin/quota/quota.1
--- a/usr.bin/quota/quota.1 Sat May 12 19:47:26 2012 +0000
+++ b/usr.bin/quota/quota.1 Sat May 12 19:53:21 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: quota.1,v 1.17 2012/02/13 19:53:25 dholland Exp $
+.\" $NetBSD: quota.1,v 1.18 2012/05/12 19:53:21 dholland Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -40,19 +40,19 @@
.Nd display disk usage and limits
.Sh SYNOPSIS
.Nm
-.Op Fl Dghu
+.Op Fl ghu
.Op Fl v | Fl q
.Nm
-.Op Fl Dhu
+.Op Fl hu
.Op Fl v | Fl q
.Ar user
.Nm
-.Op Fl Dgh
+.Op Fl gh
.Op Fl v | Fl q
.Ar group
.Nm
.Fl d
-.Op Fl Dgh
+.Op Fl gh
.Op Fl v | Fl q
.Sh DESCRIPTION
.Nm
@@ -62,8 +62,6 @@
Options:
.Pp
.Bl -tag -width Ds
-.It Fl D
-Debug: print plist sent to and received from kernel.
.It Fl d
Query the kernel for default user or group quota instead of a specific
user or group.
diff -r 84b0f0692b9f -r 34404a9d4ba4 usr.bin/quota/quota.c
--- a/usr.bin/quota/quota.c Sat May 12 19:47:26 2012 +0000
+++ b/usr.bin/quota/quota.c Sat May 12 19:53:21 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: quota.c,v 1.48 2012/02/05 14:14:44 dholland Exp $ */
+/* $NetBSD: quota.c,v 1.49 2012/05/12 19:53:22 dholland Exp $ */
/*
* Copyright (c) 1980, 1990, 1993
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)quota.c 8.4 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: quota.c,v 1.48 2012/02/05 14:14:44 dholland Exp $");
+__RCSID("$NetBSD: quota.c,v 1.49 2012/05/12 19:53:22 dholland Exp $");
#endif
#endif /* not lint */
@@ -104,7 +104,6 @@
static int vflag = 0;
static int hflag = 0;
static int dflag = 0;
-static int Dflag = 0;
static uid_t myuid;
static int needheading;
@@ -117,7 +116,7 @@
int ch;
myuid = getuid();
- while ((ch = getopt(argc, argv, "Ddhugvq")) != -1) {
+ while ((ch = getopt(argc, argv, "dhugvq")) != -1) {
switch(ch) {
case 'g':
gflag++;
@@ -137,9 +136,6 @@
case 'd':
dflag++;
break;
- case 'D':
- Dflag++;
- break;
default:
usage();
}
@@ -525,7 +521,7 @@
err(1, "Out of memory");
}
if (getvfsquota(fst[i].f_mntonname, qup->qvs, &version,
- id, idtype, dflag, Dflag) != 1)
+ id, idtype, dflag, 0) != 1)
continue;
} else
continue;
Home |
Main Index |
Thread Index |
Old Index