Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inconsistency in help #16004

Open
ggzengel opened this issue Mar 17, 2024 · 1 comment
Open

inconsistency in help #16004

ggzengel opened this issue Mar 17, 2024 · 1 comment

Comments

@ggzengel
Copy link
Contributor

"[-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?

@cmharr
Copy link
Contributor

cmharr commented Mar 18, 2024

Submitted #16008 to fix the missing '-e' and re-order alphabetically the other 2 letters in that string that aren't right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants