From 1ed7089a02e7ca69dcad24394e9d0baeac765bff Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Sun, 20 Jun 2021 18:04:59 -0500 Subject: [PATCH] Update CLI.md --- docs/CLI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CLI.md b/docs/CLI.md index 348f798..a670d2a 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -90,7 +90,7 @@ In addition to listening for incoming HAP requests, HomeSpan also continuously p ### User-Defined Commands -You can extend the HomeSpan CLI with custom functions using `SpanUserCommand()`. This class allows you to assign a single-character name to any custom function that will be called when you type the '@' symbol following by the single-character name into the CLI. For example, if you assigned the character 'K' to a custom function, you would type '@K' into the CLI to invoke it. This allows you to use any single-character name, even if that character is already used by HomeSpan for its built-in commands. The `SpanUserCommand` class also allows you to include a short text description of your function that will be added to the menu of commands when you type '?' into the CLI. See the the [API Reference](https://github.com/HomeSpan/HomeSpan/blob/dev/docs/Reference.md#spanusercommandchar-c-const-char-s-void-fconst-char-v) for full details. +You can extend the HomeSpan CLI with custom functions using `SpanUserCommand()`. This class allows you to assign a single-character name to any custom function that will be called when you type the '@' symbol following by the single-character name into the CLI. For example, if you assigned the character 'K' to a custom function, you would type '@K' into the CLI to invoke it. This allows you to use any single-character name, even if that character is already used by HomeSpan for its built-in commands. The `SpanUserCommand` class also allows you to include a short text description of your function that will be added to the menu of commands when you type '?' into the CLI. See the the [API Reference](Reference.md#spanusercommandchar-c-const-char-s-void-fconst-char-v) for full details. ---