Merge pull request #6549 from undergroundwires/patch-1

Fix exiting with error code when help is called
main
Elbert Alias 2 years ago committed by GitHub
commit 98b8c9e71a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -91,8 +91,7 @@ Options:
-N, --no-redirect Disable cross-domain redirects -N, --no-redirect Disable cross-domain redirects
-e, --extended Output additional information -e, --extended Output additional information
`) `)
process.exit(options.help ? 0 : 1)
process.exit(1)
} }
const headers = {} const headers = {}