cmd: add RecordVars call after short variable declarations
cmd: add RecordVars call after short variable declarations

Endika/godebug,danny200309/godebug,CodyGuo/godebug,WnP/godebug,r-fujiwara/godebug,mailgun/godebug,mirrr/godebug