summaryrefslogtreecommitdiff
path: root/src/ao_log.c
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2011-02-27 11:11:12 +1000
committerKeith Packard <keithp@keithp.com>2011-03-07 00:01:46 -0800
commit8cdf4fb051c22b35c251d90bc288551f7c2898bf (patch)
treea3b39a462dad7f9042ff6b34bdc9ff5e0fea0dec /src/ao_log.c
parent2cfe205de4242398e69c9e7c613af0d2a7094686 (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_log.c')
-rw-r--r--src/ao_log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ao_log.c b/src/ao_log.c
index 099c5f6f..1b10961d 100644
--- a/src/ao_log.c
+++ b/src/ao_log.c
@@ -390,9 +390,9 @@ ao_log_delete(void) __reentrant
__code struct ao_cmds ao_log_cmds[] = {
- { 'l', ao_log_list, "l List stored flight logs" },
- { 'd', ao_log_delete, "d <flight-number> Delete stored flight" },
- { 0, ao_log_delete, NULL },
+ { ao_log_list, "l\0List stored flight logs" },
+ { ao_log_delete, "d <flight-number>\0Delete stored flight" },
+ { 0, NULL },
};
void