Make formatting of dedup values string consistent
All other prop values return options separated by ` | `, dedup values do not, they are separated by `, `. This change makes the dedup value formatting consistent with other properties. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Clint Armstrong <clint@clintarmstrong.net> Closes #10761
This commit is contained in:
parent
6fe3498ca3
commit
1ddd7cdb92
|
@ -403,9 +403,9 @@ zfs_prop_init(void)
|
|||
"CHECKSUM", checksum_table);
|
||||
zprop_register_index(ZFS_PROP_DEDUP, "dedup", ZIO_CHECKSUM_OFF,
|
||||
PROP_INHERIT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
|
||||
"on | off | verify | sha256[,verify], sha512[,verify], "
|
||||
"on | off | verify | sha256[,verify] | sha512[,verify] | "
|
||||
#if !defined(__FreeBSD__)
|
||||
"skein[,verify], edonr,verify",
|
||||
"skein[,verify] | edonr,verify",
|
||||
#else
|
||||
"skein[,verify]",
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue