summaryrefslogtreecommitdiffstats
path: root/man/man8/zpool.8
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2014-06-23 14:12:53 -0400
committerBrian Behlendorf <[email protected]>2014-09-30 10:46:58 -0700
commit2f3ec9006146844af6763d1fa4e823fd9047fd54 (patch)
treea522e90e82a26bce9d15565c7acff143ba26e778 /man/man8/zpool.8
parentaa0ac7caa438bf3981456c559d4224be104ccc7d (diff)
Add add_prop_list_default helper
Adding to a property list only if there is no existing value is used twice. Once by zpool create -R and again by zpool import -R. Now that zpool create -t and zpool import -t also need it, lets refactor it into a helper function to make the code more readable. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #2417
Diffstat (limited to 'man/man8/zpool.8')
0 files changed, 0 insertions, 0 deletions