print cmd struct