Skip to content

inconsistency in help #16004

Closed
Closed
@ggzengel

Description

@ggzengel

"[-igLpPstvxD] [-T d|u] [pool] ... \n"

The following outputs are different;

#zpool status -h
invalid option 'h'
usage:
	status [--power] [-c [script1,script2,...]] [-igLpPstvxD]  [-T d|u] [pool] ... 
	    [interval [count]]

#zpool help status
zpool status [-DeigLpPstvx] [-T u|d] [-c [SCRIPT1[,SCRIPT2]…]] [pool]… [interval [count]]

In one --power is missing, in the other -e.
Is it possible to have one global text source for this?

@cmharr can you fix this with -e?

@behlendorf Is there some style guide for synopsis, about order of arguments and upper/lower case and ellipses?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DocumentationIndicates a requested change to the documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions