gitea_get_notifications.sh: merged param3 into param2 for show
This commit is contained in:
parent
44ef313ddc
commit
bf92bc33ca
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
myuser="${1}"
|
||||
gettype="${2:-merged}"
|
||||
show_noti="${3:-false}"
|
||||
|
||||
markmineread=false
|
||||
open_count=0
|
||||
|
@ -14,7 +13,7 @@ if [ "${gettype}" == "cleanup" ]; then
|
|||
markmineread=true
|
||||
fi
|
||||
|
||||
if $show_noti ; then
|
||||
if [ "${gettype}" == "show" ]; then
|
||||
tea notification ls --mine
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue