Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] add missing read-only zfs property "space"



Signed-off-by: Frederick Zhang <frederick888@xxxxxxxxxxxx>
---
 Completion/Unix/Command/_zfs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Although it's only documented under 'zfs list', it seems to be available
to other subcommands as well, e.g. 'zfs get'.

diff --git a/Completion/Unix/Command/_zfs b/Completion/Unix/Command/_zfs
index 814358bc7..452e1160d 100644
--- a/Completion/Unix/Command/_zfs
+++ b/Completion/Unix/Command/_zfs
@@ -132,9 +132,9 @@ _zfs() {
 	)
 
 	# TODO: userused@ and groupused@ could have more extensive handling
 	ro_properties=(
-		"name" "type" "creation" "used" "available" "referenced"
+		"name" "type" "creation" "space" "used" "available" "referenced"
 		"compressratio" "mounted" "origin" "usedbychildren"
 		"usedbydataset" "usedbyrefreservation" "usedbysnapshots"
 		"defer_destroy" "userused@" "userrefs" "groupused@"
 		"keychangedate" "keystatus" "rekeydate"
-- 
2.27.0



Messages sorted by: Reverse Date, Date, Thread, Author