mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Add deprecation verbose message for --secure flag
This commit is contained in:
parent
2a89465b90
commit
d24836e4ed
2
psu
2
psu
@ -439,7 +439,7 @@ inputs() {
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
-s|--secure|-s=*|--secure=*)
|
-s|--secure|-s=*|--secure=*)
|
||||||
# DEPRECATED: use `insecure` action instead
|
echo_verbose "DEPRECATED: use 'insecure' action, instead of this '$1' option"
|
||||||
HTTPIE_VERIFY_SSL=$(input_flag "$1" "$2" "yes no" "no")
|
HTTPIE_VERIFY_SSL=$(input_flag "$1" "$2" "yes no" "no")
|
||||||
if [ "$HTTPIE_VERIFY_SSL" == "no" ] && [ -z "$PYTHONWARNINGS" ]; then
|
if [ "$HTTPIE_VERIFY_SSL" == "no" ] && [ -z "$PYTHONWARNINGS" ]; then
|
||||||
# Fix httpie with Ubuntu 16.04
|
# Fix httpie with Ubuntu 16.04
|
||||||
|
Loading…
Reference in New Issue
Block a user