readded option to cmd to read a single command

This commit is contained in:
Kjistóf 2017-10-08 21:05:21 +02:00
parent cbae5e29ff
commit 186be90a7a

View File

@ -40,5 +40,6 @@ function cmd()
prompt
read command
[ "$command" != "end" ] && eval "${command}" || break
[ "$1" ] && break
done
}