refactor command_new to use command_registration
commitcd7e76ebf0e09466aeb3c61498360c45a1a3ad39
authorZachary T Welch <zw@superlucidity.net>
Mon, 23 Nov 2009 23:01:12 +0000 (23 15:01 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 25 Nov 2009 05:37:37 +0000 (24 21:37 -0800)
tree5fcd06410c32361cafc18921adfd8223380b86ae
parentf74e2e033a2ad082e5bef67d0ddedd1db3f58300
refactor command_new to use command_registration

Save stack space: use a struct.  Makes it easier to add new parameters.
src/helper/command.c