Skip to content

Commit 19218fd

Browse files
committed
output the question if help shall be printed to stderr
1 parent 6553946 commit 19218fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utility/parse-args.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ function parseArgumentsInternal {
144144
local -ri parseArguments_arrLength="${#parseArguments_paramArr[@]}"
145145

146146
function parseArgumentsInternal_ask_printHelp() {
147-
if askYesOrNo "Shall I print the help for you?"; then
148-
parseArgumentsInternal_printHelp
147+
if askYesOrNo >&2 "Shall I print the help for you?"; then
148+
parseArgumentsInternal_printHelp >&2
149149
fi
150150
}
151151

0 commit comments

Comments
 (0)