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

Using --mode=tail requires use of "=" #23

Open
jjhart opened this issue Jul 18, 2018 · 0 comments
Open

Using --mode=tail requires use of "=" #23

jjhart opened this issue Jul 18, 2018 · 0 comments
Assignees

Comments

@jjhart
Copy link
Contributor

jjhart commented Jul 18, 2018

When specifying parameters, the use of = appears to be optional. In other words, both of these work:

$ scalyr query 'foo' --start 7/10/18 --end 7/11/18 --mode head
(results)

$ scalyr query 'foo' --start=7/10/18 --end=7/11/18 --mode=head
(same results)

However, if you specify tail mode, you must use =:

$ scalyr query 'foo' --start 7/10/18 --end 7/11/18 --mode tail
usage: scalyr [-h] [--version] [--server SERVER] [--token TOKEN] [--verbose]
              [--no-escape-unicode]
              [--output {singleline,multiline,messageonly}] [--lines LINES]
              {timeseries-query,list-files,delete-file,create-timeseries,query,facet-query,numeric-query,timerseries-query,tail,get-file,put-file}
              [filter]
scalyr: error: unrecognized arguments: --start 7/10/18 --end 7/11/18 --mode tail

$ scalyr query 'foo' --start 7/10/18 --end 7/11/18 --mode=tail
(results)
@czerwingithub czerwingithub self-assigned this Jul 18, 2018
imron pushed a commit to imron/scalyr-tool that referenced this issue Sep 7, 2018
@imron imron mentioned this issue Sep 7, 2018
imron pushed a commit to imron/scalyr-tool that referenced this issue Apr 1, 2020
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