3 |
# loads client classes from $MCLIBDIR |
# loads client classes from $MCLIBDIR |
4 |
load_client_classes() |
load_client_classes() |
5 |
{ |
{ |
6 |
|
local i |
7 |
|
|
8 |
# client specific |
# client specific |
9 |
for i in ${MCLIBDIR}/include/*.client.class |
for i in $(find ${MCLIBDIR}/include -type f -name \*.client.class) |
10 |
do |
do |
11 |
source ${i} || eecho "error loading ${i}" |
source ${i} || eecho "error loading ${i}" |
12 |
done |
done |
105 |
mecho "\tcolors - enable colors" |
mecho "\tcolors - enable colors" |
106 |
mecho "\tquiet - do not print any unecessary messages" |
mecho "\tquiet - do not print any unecessary messages" |
107 |
mecho "\thelp - shows help" |
mecho "\thelp - shows help" |
108 |
|
mecho "\tversion - prints version of the daemon" |
109 |
mecho "\tquit - quits the connection to the server" |
mecho "\tquit - quits the connection to the server" |
110 |
mecho |
mecho |
111 |
mecho "Help topics:" |
mecho "Help topics:" |
444 |
|
|
445 |
rvecho "${retval}" |
rvecho "${retval}" |
446 |
} |
} |
447 |
|
|
448 |
|
print_version() |
449 |
|
{ |
450 |
|
echo "mcored-$(<${MCLIBDIR}/VERSION)" |
451 |
|
} |
452 |
|
|