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_config.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_config.c')
-rw-r--r-- | src/ao_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ao_config.c b/src/ao_config.c index cd56b473..c6d36247 100644 --- a/src/ao_config.c +++ b/src/ao_config.c @@ -439,8 +439,8 @@ ao_config_write(void) __reentrant #endif __code struct ao_cmds ao_config_cmds[] = { - { 'c', ao_config_set, "c <var> <value> Set config variable (? for help, s to show)" }, - { '\0', ao_config_set, NULL }, + { ao_config_set, "c <var> <value>\0Set config variable (? for help, s to show)" }, + { 0, NULL }, }; void |