Skip to content

Commit 7684dc7

Browse files
author
gowtham1412-p
authored
Fix: Return exit code 1 when search finds no results (#318) (#320)
1 parent d2523d6 commit 7684dc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tldr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,7 @@ def main() -> None:
749749
return
750750
else:
751751
print("No commands matched your search term.")
752+
sys.exit(1)
752753
else:
753754
try:
754755
command = '-'.join(options.command).lower()

0 commit comments

Comments
 (0)