possibility to disable calling main if nested_command is called

Compare:

git remote
git remote add