Show --baned with optional parameter syntax

This commit is contained in:
Blade of Darkness 2020-12-04 21:38:22 +01:00
parent b6bf5d4c39
commit 5f218c20bb
1 changed files with 1 additions and 1 deletions

2
rmuser
View File

@ -35,7 +35,7 @@ remove_user()
if [ -z $1 ]
then
echo -e "Usage: `basename $0` [ username | --banned ]"
echo -e "Usage: `basename $0` username [ --banned ]"
else
remove_user $1
[ -n $2 ] && [[ $2 == --banned ]] && echo $1 >> /root/users.banned