yoda: auto-detect base for int options

Signed-off-by: Andrey Vagin <avagin@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@sacred.ru>