#! /bin/sh
#
# convenience wrapper for dbmcli
#
# calls dbmcli through rlwrap to enable command history if rlwrap
# is installed
#
# (c) 2004 Martin Kittel <debian@martin-kittel.de>
#

DBMCLICMD=dbmcli

if [ -x /usr/bin/rlwrap ]; then
    exec rlwrap $DBMCLICMD $@
else
    exec $DBMCLICMD $@
fi
