diff options
author | LOLi <[email protected]> | 2018-01-30 00:05:03 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-01-29 15:05:03 -0800 |
commit | 63f88c12b41a9a51f5693efce408960664fdbe16 (patch) | |
tree | 721467099bd3caa631f8915dee84a7f226af2377 /cmd/zpool | |
parent | 5e021f56d3437d3523904652fe3cc23ea1f4cb70 (diff) |
Fix style issues in man pages and commands help
* Remove 'zfs snap' from zfs help message (OpenZFS sync)
* Update zfs(8) to suggest 'snap' can be used as an alias for 'snapshot'
* Enforce 80 columns limit in help messages
* Remove zfs_disable_dup_eviction from zfs-module-parameters(5)
* Expose zfs_scan_max_ext_gap as a kernel module parameter.
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Tom Caputi <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #7087
Diffstat (limited to 'cmd/zpool')
-rw-r--r-- | cmd/zpool/zpool_main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index 4905927fc..f8d3a75bd 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -334,7 +334,8 @@ get_usage(zpool_help_t idx) return (gettext("\tlabelclear [-f] <vdev>\n")); case HELP_LIST: return (gettext("\tlist [-gHLpPv] [-o property[,...]] " - "[-T d|u] [pool] ... [interval [count]]\n")); + "[-T d|u] [pool] ... \n" + "\t [interval [count]]\n")); case HELP_OFFLINE: return (gettext("\toffline [-f] [-t] <pool> <device> ...\n")); case HELP_ONLINE: @@ -350,7 +351,8 @@ get_usage(zpool_help_t idx) return (gettext("\tscrub [-s | -p] <pool> ...\n")); case HELP_STATUS: return (gettext("\tstatus [-c [script1,script2,...]] [-gLPvxD]" - "[-T d|u] [pool] ... [interval [count]]\n")); + "[-T d|u] [pool] ... \n" + "\t [interval [count]]\n")); case HELP_UPGRADE: return (gettext("\tupgrade\n" "\tupgrade -v\n" |