From 382d2f1ed0ed6825d3ad1444354729d36a97659a Mon Sep 17 00:00:00 2001 From: adriaan Date: Sun, 26 Nov 2023 16:53:31 +0100 Subject: [PATCH] Update help in main.py --- kittens/ask/main.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kittens/ask/main.py b/kittens/ask/main.py index b6ffe11f3..c898c038d 100644 --- a/kittens/ask/main.py +++ b/kittens/ask/main.py @@ -39,9 +39,11 @@ for yesno and choices types. type=list dest=choices A choice for the choices type. Can be specified multiple times. Every choice has -the syntax: ``letter[;color]:text``. Where :italic:`letter` is the accelerator key -and :italic:`text` is the corresponding text. There can be an optional color -specification after the letter to indicate what color it should be. +the syntax: ``letter[;color]:text``, where :italic:`text` is the choice +text and :italic:`letter` is the selection key. :italic:`letter` is a single letter +belonging to :italic:`text`. This letter is highlighted within the choice text. +There can be an optional color specification after the letter +to indicate what color it should be. For example: :code:`y:Yes` and :code:`n;red:No`