Skip to content

Commit bbc755e

Browse files
author
rootware
committed
added comment
1 parent 65df1fd commit bbc755e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyredactkit/runner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def execute_redact_logic() -> None:
120120
args = parser.parse_args()
121121

122122
if len(sys.argv) == 1:
123+
# If there is no input argument and no piped input, print help menu and exit
123124
if sys.stdin.isatty():
124125
print(help_menu)
125126
parser.print_help(sys.stderr)

0 commit comments

Comments
 (0)