Skip to content

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

@jjhart

Description

@jjhart

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions