Fix parameters handling for sub-commands

Fix #77