-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Changed help command output from inside the cli #4766
Conversation
Thanks @aneshas - have you signed the CLA? |
@otoolep Yes I have |
Thanks, CLA confirmed signed. |
This is a good cleanup but I don't think it addresses all of #4722 since there are still some recently added shell commands like |
@gunnaraasen You are right |
There is also |
That command is not meant for documentation. |
02b2a6b
to
567bf8b
Compare
So there is only |
"Display command history" works for me, no need to be fancy. |
The build failure is nothing to do with your change, it's something else. |
567bf8b
to
f6e2de8
Compare
a full list of influxql commands can be found at: | ||
connect <host:port> Connect connects to another node specified by host:port | ||
auth Auth prompts for username and password | ||
pretty Pretty turns on pretty print for the json format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to leave "toggle" in the description. Once pretty print is enabled, sending pretty
again disables it.
"Pretty toggles pretty print for the json format "
minor edits |
fcdc2b0
to
a46b773
Compare
@beckettsean Should be done :) |
show tag values show tag value information | ||
|
||
a full list of influxql commands can be found at: | ||
connect <host:port> Connect connects to another node specified by host:port |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I like this format of continually repeating the command in the explanation -- it seems overly verbose. I preferred the older format.
@otoolep I'm indifferent to repeating the command. I think the canonical style is to omit the command in the I would lean towards removing the duplication of the command but I wouldn't hold the PR to wait for it. |
That's fine, I'll defer to you @beckettsean |
OK, +1 from me. +1 from you @beckettsean ? |
@gunnaraasen care to weigh in? |
I'm all for reducing verbosity but this looks good for now. |
@beckettsean Care to elaborate, you really got me here: Let's remove it in favor of show field keys, which is valid and mirrors show tag keys. So I need to put back @otoolep I will remove duplication of commands also |
match the info provided by the influx --help output, and added history command Reverted description for pretty command + minor edits Removed duplication of command names Signed-off-by: Anes Hasicic <anes.hasicic@gmail.com>
a46b773
to
95ced0b
Compare
ok, done @otoolep @beckettsean |
Looks good to me. Confirming the CLA has been signed. @otoolep I can't imagine the CI failure is related, but can you confirm before I merge? |
Yeah, we can ignore the failure. |
Changed help command output from inside the cli
@aneshas -- please send me an email so we can send you a t-shirt! |
Tnx :D @otoolep anes.hasicic@gmail.com is my e-mail |
Changed help command output from inside the cli to
match the info provided by the influx --help output
Added history command as suggested by @gunnaraasen
Minor edits as proposed by @beckettsean
Removed command names duplication and
Closes #4722
Signed-off-by: Anes Hasicic anes.hasicic@gmail.com