Fixed return value when desc parameter is defined on command.

Fixed issue #285.