Bug 168970 - Missing zpool list -v documentation as well as improve zfs features example.
Summary: Missing zpool list -v documentation as well as improve zfs features example.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-12 05:00 UTC by Marcelo Araujo
Modified: 2012-07-16 04:41 UTC (History)
0 users

See Also:


Attachments
file.diff (1.46 KB, patch)
2012-06-12 05:00 UTC, Marcelo Araujo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Araujo freebsd_committer freebsd_triage 2012-06-12 05:00:26 UTC
Document the missing zpool list -v option, add an example how activate the zfs features.

Fix: Patch attached with submission follows:
Comment 1 Martin Matuska freebsd_committer freebsd_triage 2012-06-12 15:23:45 UTC
Responsible Changed
From-To: freebsd-bugs->mm

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-06-12 15:40:44 UTC
Author: mm
Date: Tue Jun 12 14:40:19 2012
New Revision: 236960
URL: http://svn.freebsd.org/changeset/base/236960

Log:
  Document the -v flag for zpool list.
  
  PR:		168970
  Suggested by:	Marcelo Araujo <araujo@FreeBSD.org>
  MFC after:	3 days

Modified:
  head/cddl/contrib/opensolaris/cmd/zpool/zpool.8
  head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c

Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool.8
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Tue Jun 12 14:02:38 2012	(r236959)
+++ head/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Tue Jun 12 14:40:19 2012	(r236960)
@@ -1348,6 +1348,8 @@ reports are printed.
 .It Fl H
 Scripted mode. Do not display headers, and separate fields by a single tab
 instead of arbitrary space.
+.It Fl v
+Show more detailed information.
 .It Fl o Ar property Ns Op , Ns Ar ...
 Comma-separated list of properties to display. See the
 .Qq Sx Properties

Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Tue Jun 12 14:02:38 2012	(r236959)
+++ head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Tue Jun 12 14:40:19 2012	(r236960)
@@ -235,7 +235,7 @@ get_usage(zpool_help_t idx) {
 	case HELP_LABELCLEAR:
 		return (gettext("\tlabelclear [-f] <vdev>\n"));
 	case HELP_LIST:
-		return (gettext("\tlist [-H] [-o property[,...]] "
+		return (gettext("\tlist [-Hv] [-o property[,...]] "
 		    "[-T d|u] [pool] ... [interval [count]]\n"));
 	case HELP_OFFLINE:
 		return (gettext("\toffline [-t] <pool> <device> ...\n"));
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-06-15 08:14:31 UTC
Author: mm
Date: Fri Jun 15 07:14:16 2012
New Revision: 237116
URL: http://svn.freebsd.org/changeset/base/237116

Log:
  MFC r236960:
  Document the -v flag for zpool list.
  
  PR:		168970
  Suggested by:	Marcelo Araujo <araujo@FreeBSD.org>

Modified:
  stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8
  stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
Directory Properties:
  stable/9/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8
==============================================================================
--- stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jun 15 06:38:55 2012	(r237115)
+++ stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jun 15 07:14:16 2012	(r237116)
@@ -1301,6 +1301,8 @@ reports are printed.
 .It Fl H
 Scripted mode. Do not display headers, and separate fields by a single tab
 instead of arbitrary space.
+.It Fl v
+Show more detailed information.
 .It Fl o Ar property Ns Op , Ns Ar ...
 Comma-separated list of properties to display. See the
 .Qq Sx Properties

Modified: stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
==============================================================================
--- stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Fri Jun 15 06:38:55 2012	(r237115)
+++ stable/9/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Fri Jun 15 07:14:16 2012	(r237116)
@@ -234,7 +234,7 @@ get_usage(zpool_help_t idx) {
 	case HELP_LABELCLEAR:
 		return (gettext("\tlabelclear [-f] <vdev>\n"));
 	case HELP_LIST:
-		return (gettext("\tlist [-H] [-o property[,...]] "
+		return (gettext("\tlist [-Hv] [-o property[,...]] "
 		    "[-T d|u] [pool] ... [interval [count]]\n"));
 	case HELP_OFFLINE:
 		return (gettext("\toffline [-t] <pool> <device> ...\n"));
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-06-15 08:15:12 UTC
Author: mm
Date: Fri Jun 15 07:14:43 2012
New Revision: 237117
URL: http://svn.freebsd.org/changeset/base/237117

Log:
  MFC r236960:
  Document the -v flag for zpool list.
  
  PR:		168970
  Suggested by:	Marcelo Araujo <araujo@FreeBSD.org>

Modified:
  stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8
  stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
Directory Properties:
  stable/8/cddl/contrib/opensolaris/   (props changed)

Modified: stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8
==============================================================================
--- stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jun 15 07:14:16 2012	(r237116)
+++ stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool.8	Fri Jun 15 07:14:43 2012	(r237117)
@@ -1301,6 +1301,8 @@ reports are printed.
 .It Fl H
 Scripted mode. Do not display headers, and separate fields by a single tab
 instead of arbitrary space.
+.It Fl v
+Show more detailed information.
 .It Fl o Ar property Ns Op , Ns Ar ...
 Comma-separated list of properties to display. See the
 .Qq Sx Properties

Modified: stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
==============================================================================
--- stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Fri Jun 15 07:14:16 2012	(r237116)
+++ stable/8/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Fri Jun 15 07:14:43 2012	(r237117)
@@ -234,7 +234,7 @@ get_usage(zpool_help_t idx) {
 	case HELP_LABELCLEAR:
 		return (gettext("\tlabelclear [-f] <vdev>\n"));
 	case HELP_LIST:
-		return (gettext("\tlist [-H] [-o property[,...]] "
+		return (gettext("\tlist [-Hv] [-o property[,...]] "
 		    "[-T d|u] [pool] ... [interval [count]]\n"));
 	case HELP_OFFLINE:
 		return (gettext("\toffline [-t] <pool> <device> ...\n"));
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 5 Marcelo Araujo freebsd_committer freebsd_triage 2012-07-16 04:41:43 UTC
State Changed
From-To: open->closed

It was committed some days ago by mm@!