Date: Mon, 15 Dec 2025 05:00:14 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 219467] `mtree -R type -k flags` prints out type= keyword attributes, contrary to what the manpage says it should do Message-ID: <bug-219467-227-IHdCBR8jJB@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-219467-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219467 Jose Luis Duran <jlduran@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jlduran@FreeBSD.org --- Comment #2 from Jose Luis Duran <jlduran@FreeBSD.org> --- Created attachment 266206 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266206&action=edit Initial proposed fix mtree: Fix parsing 'K', 'k', and 'R' flags Move the parsing of the keywords for the 'K', 'k', and 'R' flags outside the getopt loop, so that the order of the flags does not matter. Also, check for the presence of the F_TYPE flag before printing the type keyword. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219467-227-IHdCBR8jJB>
