Quiet verbose output #54

Merged
telackey merged 1 commits from dboreham/fix-verbose-output into main 2022-11-30 02:56:26 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ def command(ctx, include, exclude, cluster, command, services):
compose_file_name = os.path.join("compose", f"docker-compose-{pod}.yml") compose_file_name = os.path.join("compose", f"docker-compose-{pod}.yml")
compose_files.append(compose_file_name) compose_files.append(compose_file_name)
else: else:
if not quiet: if verbose:
print(f"Excluding: {pod}") print(f"Excluding: {pod}")
if verbose: if verbose:

View File

@ -102,7 +102,7 @@ def command(ctx, include, exclude, git_ssh, check_only, pull, branches_file):
if include_exclude_check(repo, include, exclude): if include_exclude_check(repo, include, exclude):
repos.append(repo) repos.append(repo)
else: else:
if not quiet: if verbose:
print(f"Excluding: {repo}") print(f"Excluding: {repo}")
def process_repo(repo): def process_repo(repo):