diff options
author | Anthony Towns <aj@erisian.com.au> | 2011-02-27 11:11:12 +1000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-03-07 00:01:46 -0800 |
commit | 8cdf4fb051c22b35c251d90bc288551f7c2898bf (patch) | |
tree | a3b39a462dad7f9042ff6b34bdc9ff5e0fea0dec /src/ao_ignite.c | |
parent | 2cfe205de4242398e69c9e7c613af0d2a7094686 (diff) |
src/ao_cmd: Shave off bytes from doc strings
Switch to using { func, "X args\0Desc" } to specify command, saving
a char field by looking at help[0] instead, and reduce help length by
doing alignment with printf instead of hardcoded spaces.
Diffstat (limited to 'src/ao_ignite.c')
-rw-r--r-- | src/ao_ignite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ao_ignite.c b/src/ao_ignite.c index 603fcd25..798ba9b4 100644 --- a/src/ao_ignite.c +++ b/src/ao_ignite.c @@ -154,9 +154,9 @@ ao_ignite_test(void) } __code struct ao_cmds ao_ignite_cmds[] = { - { 'i', ao_ignite_manual, "i <key> {main|drogue} Fire igniter. <key> is doit with D&I" }, - { 't', ao_ignite_test, "t Test igniter continuity" }, - { 0, ao_ignite_manual, NULL }, + { ao_ignite_manual, "i <key> {main|drogue}\0Fire igniter. <key> is doit with D&I" }, + { ao_ignite_test, "t\0Test igniter continuity" }, + { 0, NULL }, }; __xdata struct ao_task ao_igniter_task; |