Skip to content

Commit 03775b0

Browse files
committed
update readme
Signed-off-by: Markus Blaschke <[email protected]>
1 parent 8bd29c7 commit 03775b0

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,21 @@ Usage:
3333
azure-resourcemanager-exporter [OPTIONS]
3434
3535
Application Options:
36-
--log.debug debug mode [$LOG_DEBUG]
37-
--log.devel development mode [$LOG_DEVEL]
38-
--log.json Switch log output to json format [$LOG_JSON]
39-
--config= Path to config file [$CONFIG]
40-
--azure.tenant= Azure tenant id [$AZURE_TENANT_ID]
41-
--azure.environment= Azure environment name (default: AZUREPUBLICCLOUD) [$AZURE_ENVIRONMENT]
42-
--cache.path= Cache path (to folder, file://path... or azblob://storageaccount.blob.core.windows.net/containername or
43-
k8scm://{namespace}/{configmap}}) [$CACHE_PATH]
44-
--server.bind= Server address (default: :8080) [$SERVER_BIND]
45-
--server.timeout.read= Server read timeout (default: 5s) [$SERVER_TIMEOUT_READ]
46-
--server.timeout.write= Server write timeout (default: 10s) [$SERVER_TIMEOUT_WRITE]
36+
--log.level=[trace|debug|info|warning|error] Log level (default: info) [$LOG_LEVEL]
37+
--log.format=[logfmt|json] Log format (default: logfmt) [$LOG_FORMAT]
38+
--log.source=[|short|file|full] Show source for every log message (useful for debugging and bug reports) [$LOG_SOURCE]
39+
--log.color=[|auto|yes|no] Enable color for logs [$LOG_COLOR]
40+
--log.time Show log time [$LOG_TIME]
41+
--config= Path to config file [$CONFIG]
42+
--azure.tenant= Azure tenant id [$AZURE_TENANT_ID]
43+
--azure.environment= Azure environment name (default: AZUREPUBLICCLOUD) [$AZURE_ENVIRONMENT]
44+
--cache.path= Cache path (to folder, file://path... or azblob://storageaccount.blob.core.windows.net/containername or k8scm://{namespace}/{configmap}}) [$CACHE_PATH]
45+
--server.bind= Server address (default: :8080) [$SERVER_BIND]
46+
--server.timeout.read= Server read timeout (default: 5s) [$SERVER_TIMEOUT_READ]
47+
--server.timeout.write= Server write timeout (default: 10s) [$SERVER_TIMEOUT_WRITE]
4748
4849
Help Options:
49-
-h, --help Show this help message
50+
-h, --help Show this help message
5051
```
5152

5253
for Azure API authentication (using ENV vars) see https://docs.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication

0 commit comments

Comments
 (0)