-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
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)
Metadata
Metadata
Assignees
Labels
No labels