Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2011 09:17:25 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r223859 - stable/8/cddl/contrib/opensolaris/cmd/zfs
Message-ID:  <201107080917.p689HP7Q001384@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Fri Jul  8 09:17:25 2011
New Revision: 223859
URL: http://svn.freebsd.org/changeset/base/223859

Log:
  MFC r223620:
  Allow mountpoints as arguments for the 'zfs get' command.
  
  Illumos-gate revision:	13295
  Obtained from:		Illumos (Feature #510)

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

Modified: stable/8/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
==============================================================================
--- stable/8/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c	Fri Jul  8 07:38:45 2011	(r223858)
+++ stable/8/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c	Fri Jul  8 09:17:25 2011	(r223859)
@@ -21,7 +21,7 @@
 
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2010 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  */
 
 #include <assert.h>
@@ -1292,7 +1292,7 @@ static int
 zfs_do_get(int argc, char **argv)
 {
 	zprop_get_cbdata_t cb = { 0 };
-	int i, c, flags = 0;
+	int i, c, flags = ZFS_ITER_ARGS_CAN_BE_PATHS;
 	char *value, *fields;
 	int ret;
 	int limit = 0;



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