1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00

Fix 'Too many redirects' error message formatting

This commit is contained in:
Jakub Roztocil 2020-04-15 17:43:08 +02:00
parent cdf691c212
commit c9d770017e

View File

@ -90,7 +90,7 @@ def main(
exit_status = ExitStatus.ERROR_TOO_MANY_REDIRECTS exit_status = ExitStatus.ERROR_TOO_MANY_REDIRECTS
env.log_error( env.log_error(
f'Too many redirects' f'Too many redirects'
f' (--max-redirects=parsed_args.max_redirects).' f' (--max-redirects={parsed_args.max_redirects}).'
) )
except Exception as e: except Exception as e:
# TODO: Further distinction between expected and unexpected errors. # TODO: Further distinction between expected and unexpected errors.