clap changed note to tip when unknown parameters were found
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
Paul Campbell 2024-01-23 19:15:38 +00:00
parent 88b6c4267b
commit 5958c7e3f6

View file

@ -74,7 +74,7 @@ echo "> handle unknown parameter with simple error message"
cat<<EOF > test.expect.err
error: unexpected argument '--foo' found
note: to pass '--foo' as a value, use '-- --foo'
tip: to pass '--foo' as a value, use '-- --foo'
Usage: skip [OPTIONS] <LINES> [FILE]