use a warning message if no arguments were passed
This commit is contained in:
parent
e2874642e1
commit
a64c63d2cb
|
@ -86,4 +86,4 @@ class AutoStop:
|
|||
self.stop_containers()
|
||||
|
||||
if not config["stop"]["max_run_time"]:
|
||||
self.logger.info("Skipped, no arguments given")
|
||||
self.logger.warn("Skipped, no arguments given")
|
||||
|
|
|
@ -316,4 +316,4 @@ class GarbageCollector:
|
|||
not config["gc"]["max_container_age"] or not config["gc"]["max_image_age"]
|
||||
or not config["gc"]["dangling_volumes"]
|
||||
):
|
||||
self.logger.info("Skipped, no arguments given")
|
||||
self.logger.warn("Skipped, no arguments given")
|
||||
|
|
|
@ -21,6 +21,9 @@ $ pip install https://github.com/xoxys/docker-tidy/releases/download/v0.1.0/dock
|
|||
|
||||
## Docker
|
||||
|
||||
The default entrypoint is set to the `gc` subcommand and you have to overwrite it
|
||||
if you want to use other subcommands like `stop`.
|
||||
|
||||
<!-- markdownlint-disable -->
|
||||
{{< highlight Shell "linenos=table" >}}
|
||||
docker run \
|
||||
|
|
Loading…
Reference in New Issue