Fix for 'cmdline' lib: wrong way of matching b/w cmd DB and cmd buffer

Cmdline lib performs wrong comparison commands from database and buffer. For instance, if command from buffer is 'rebo', but one from database is 'reboot', then match will be triggered.