updated the verbose handling for new version

This commit is contained in:
Falko Victor Habel 2025-04-22 17:07:46 +02:00
parent 2a034e9c0e
commit eec232ae53
1 changed files with 1 additions and 2 deletions

View File

@ -69,10 +69,9 @@ def main():
create_tree_structurer() create_tree_structurer()
if args.command == 'display': if args.command == 'display':
if args.verbose:
print(f"Analyzing directory: {args.path}")
try: try:
structure = get_structure(args.path) structure = get_structure(args.path)
print(f"Analyzing directory: {args.path}")
for line in structure: for line in structure:
print(line) print(line)
except FileNotFoundError: except FileNotFoundError: