macrorun: indent list command output, fix a bug when switch is specified but not context_id.