mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Add deprecation verbose message for --action flag
This commit is contained in:
parent
2a7979caf7
commit
8f5a8d4986
3
psu
3
psu
@ -568,7 +568,8 @@ inputs() {
|
||||
exit 0
|
||||
;;
|
||||
-a=*|--action=*|-a|--action)
|
||||
# DEPRECATED: To keep backwards compatibility with psu 0.1.x
|
||||
# To keep backwards compatibility with psu 0.1.x
|
||||
echo_verbose "DEPRECATED: Use 'psu <action> [options]' command, instead of using this '$1' option"
|
||||
ACTION=$(input_option "$1" "$2" "$ACTIONS")
|
||||
if [ -n "$2" ] && [[ ! $2 =~ ^-.+$ ]] ; then
|
||||
# When the second argument is the value of the current option
|
||||
|
Loading…
Reference in New Issue
Block a user