From 177d8d46dd7ffdab086614b1cdebce51b835edc8 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Sun, 8 Dec 2019 13:25:00 +0100 Subject: [PATCH] Add documentation Signed-off-by: Sascha Grunert --- docs/v2/manual.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/v2/manual.md b/docs/v2/manual.md index 78a810072c..577001f426 100644 --- a/docs/v2/manual.md +++ b/docs/v2/manual.md @@ -29,6 +29,7 @@ cli v2 manual * [Version Flag](#version-flag) + [Customization](#customization-2) * [Timestamp Flag](#timestamp-flag) + * [Suggestions](#suggestions) * [Full API Example](#full-api-example) @@ -1421,6 +1422,13 @@ In this example the flag could be used like this : Side note: quotes may be necessary around the date depending on your layout (if you have spaces for instance) +### Suggestions + +To enable flag and command suggestions, set `app.Suggest = true`. If the suggest +feature is enabled, then the help output of the corresponding command will +provide an appropriate suggestion for the provided flag or subcommand if +available. + ### Full API Example **Notice**: This is a contrived (functioning) example meant strictly for API