The command line param --auth is showed as url

Author: mdtrooperCreated Oct 14, 2021Updated Oct 14, 2021

It is a tiny bug but it is annoying.

I have the version:

$ http-prompt --version
2.1.0

I write a example without --auth :

$ http-prompt --spec=http://127.0.0.1:8080/v2/api-docs
Version: 2.1.0
https://127.0.0.1:8080/>                                                                                                                                                                                                                      
Goodbye!
mdtrooper@laptop:~$

And it is with --auth :

$ http-prompt --spec=http://127.0.0.1:8080/v2/api-docs --auth=foo:bar
Version: 2.1.0
http://--auth=foo:bar>                                                                                                                                                                                                                        
Goodbye!
mdtrooper@speccy:~$