mirror of
https://github.com/prometheus/prometheus
synced 2026-04-30 14:50:25 +08:00
promtool: read from stdin if no filenames are provided in check rules
Signed-off-by: François Gouteroux <francois.gouteroux@gmail.com>
This commit is contained in:
@@ -179,9 +179,9 @@ Check if the rule files are valid or not.
|
||||
|
||||
###### Arguments
|
||||
|
||||
| Argument | Description | Required |
|
||||
| Argument | Description | Default |
|
||||
| --- | --- | --- |
|
||||
| rule-files | The rule files to check. | Yes |
|
||||
| rule-files | The rule files to check, default is read from standard input (STDIN). | `-` |
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user