Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 14:40:20 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236960 - head/cddl/contrib/opensolaris/cmd/zpool
Message-ID:  <201206121440.q5CEeK1e058959@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206121440.q5CEeK1e058959>