Mercurial > illumos > illumos-gate
changeset 13295:5fd2dd481bd0
510 'zfs get' enhancement - mountpoint as an argument
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Reviewed by: Deano <deano@rattie.demon.co.uk>
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Approved by: Garrett D'Amore <garrett@nexenta.com>
author | Shampavman <sham.pavman@nexenta.com> |
---|---|
date | Wed, 02 Mar 2011 12:50:14 -0800 |
parents | 0e11573d9a03 |
children | f7734d6b8e80 |
files | usr/src/cmd/zfs/zfs_main.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/zfs/zfs_main.c Thu Feb 24 21:06:19 2011 -0800 +++ b/usr/src/cmd/zfs/zfs_main.c Wed Mar 02 12:50:14 2011 -0800 @@ -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> @@ -1280,7 +1280,7 @@ 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;