Instead of full docs, only document the commands

Full documentation takes way too much space, and command names are a reasonable
compromise for discoverability.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/365/head
Gergely Nagy 8 years ago
parent 7884289e59
commit f1e7ab05eb

@ -27,19 +27,9 @@ namespace FocusHooks {
#define FOCUS_HOOK_SETTINGS FOCUS_HOOK(FocusHooks::settings, \ #define FOCUS_HOOK_SETTINGS FOCUS_HOOK(FocusHooks::settings, \
"settings.valid?\n" \ "settings.valid?\n" \
"---------------\n" \
"Return whether the EEPROM settings are valid, or not.\n\n" \
"settings.version\n" \ "settings.version\n" \
"----------------\n" \ "settings.crc")
"Return the version of the EEPROM settings.\n\n" \
"settings.crc\n" \
"------------\n" \
"Return the CRC of the settings.")
#define FOCUS_HOOK_EEPROM FOCUS_HOOK(FocusHooks::eeprom, \ #define FOCUS_HOOK_EEPROM FOCUS_HOOK(FocusHooks::eeprom, \
"eeprom.dump\n" \ "eeprom.dump\n" \
"-----------\n" \ "eeprom.upload")
"Dump the contents of EEPROM.\n\n" \
"eeprom.upload BYTES...\n" \
"----------------------\n" \
"Upload `BYTES` to EEPROM.")

Loading…
Cancel
Save