diff --git a/docker-compose.yml b/docker-compose.yml index 4b96198..1924db8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,4 +6,4 @@ services: volumes: - /opt/docker/services:/services - ./:/out/ - command: bash -c 'python3 /out/show_updateable.py -o /out/updates.json /services/* --ignore zammad' + command: bash -c 'python3 /out/show_updateable.py -s -o /out/updates.json /services/* --ignore zammad' diff --git a/docker_compose.py b/docker_compose.py index cfe9301..0afcf8c 100644 --- a/docker_compose.py +++ b/docker_compose.py @@ -129,7 +129,7 @@ def args_setup(description): parser.add_argument("compose_files", nargs="+") parser.add_argument("--output", "-o") parser.add_argument("--ignore", "-i", nargs="+", default=False) - parser.add_argument("--match-suffix", "-s", action="store_false") + parser.add_argument("--match-suffix", "-s", action="store_true") return parser if __name__ == "__main__": @@ -142,4 +142,4 @@ if __name__ == "__main__": with open(args.output, "w") as out: json.dump(overview, out, indent=1, sort_keys=True) else: - print(json.dumps(overview, indent=1)) \ No newline at end of file + print(json.dumps(overview, indent=1)) diff --git a/show_updateable.py b/show_updateable.py index 278e3cc..5e3221a 100644 --- a/show_updateable.py +++ b/show_updateable.py @@ -52,5 +52,5 @@ def main(args): if __name__=="__main__": parser = docker_compose.args_setup("Show updates for docker-compose style services") args = parser.parse_args() + print(args) main(args) - \ No newline at end of file