scripts/base: fix help semantics
scripts/base: refactor, fix style