mirror of
https://github.com/ThunixdotNet/makeuser.git
synced 2026-01-24 13:40:17 +00:00
Show --baned with optional parameter syntax
This commit is contained in:
2
rmuser
2
rmuser
@@ -35,7 +35,7 @@ remove_user()
|
|||||||
|
|
||||||
if [ -z $1 ]
|
if [ -z $1 ]
|
||||||
then
|
then
|
||||||
echo -e "Usage: `basename $0` [ username | --banned ]"
|
echo -e "Usage: `basename $0` username [ --banned ]"
|
||||||
else
|
else
|
||||||
remove_user $1
|
remove_user $1
|
||||||
[ -n $2 ] && [[ $2 == --banned ]] && echo $1 >> /root/users.banned
|
[ -n $2 ] && [[ $2 == --banned ]] && echo $1 >> /root/users.banned
|
||||||
|
|||||||
Reference in New Issue
Block a user