From 54d5378faea6861156fe94b4cd8d817836ed0242 Mon Sep 17 00:00:00 2001 From: Yuri Pankov Date: Tue, 19 Nov 2013 16:41:37 +0100 Subject: Illumos #2583 2583 Add -p (parsable) option to zfs list References: https://www.illumos.org/issues/2583 illumos/illumos-gate@43d68d68c1ce08fb35026bebfb141af422e7082e Ported-by: Gregor Kopka Signed-off-by: Brian Behlendorf Closes: #937 --- cmd/zfs/zfs_iter.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cmd/zfs/zfs_iter.h') diff --git a/cmd/zfs/zfs_iter.h b/cmd/zfs/zfs_iter.h index 7f740e75e..2697fbdca 100644 --- a/cmd/zfs/zfs_iter.h +++ b/cmd/zfs/zfs_iter.h @@ -18,9 +18,11 @@ * * CDDL HEADER END */ + /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2013 Nexenta Systems, Inc. All rights reserved. */ #ifndef ZFS_ITER_H @@ -43,7 +45,8 @@ typedef struct zfs_sort_column { #define ZFS_ITER_PROP_LISTSNAPS (1 << 2) #define ZFS_ITER_DEPTH_LIMIT (1 << 3) #define ZFS_ITER_RECVD_PROPS (1 << 4) -#define ZFS_ITER_SIMPLE (1 << 5) +#define ZFS_ITER_LITERAL_PROPS (1 << 5) +#define ZFS_ITER_SIMPLE (1 << 6) int zfs_for_each(int, char **, int options, zfs_type_t, zfs_sort_column_t *, zprop_list_t **, int, zfs_iter_f, void *); -- cgit v1.2.3