Date: Wed, 31 Aug 2016 16:00:50 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 208169] [patch] df(1): df -l -l output "df: -l and -t are mutually exclusive." Message-ID: <bug-208169-8-KJbYrN1Noa@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-208169-8@https.bugs.freebsd.org/bugzilla/> References: <bug-208169-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208169 Conrad E. Meyer <cem@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cem@freebsd.org --- Comment #1 from Conrad E. Meyer <cem@freebsd.org> --- Given the manual page description, I think I would instead just ignore the second lflag. Like so: --- a/bin/df/df.c +++ b/bin/df/df.c @@ -166,6 +166,9 @@ main(int argc, char *argv[]) hflag =3D 0; break; case 'l': + /* Ignore duplicate -l */ + if (lflag) + break; if (vfslist !=3D NULL) xo_errx(1, "-l and -t are mutually exclusive."); vfslist =3D makevfslist(makenetvfslist()); --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208169-8-KJbYrN1Noa>