summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-06-03 22:10:37 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-06-03 22:10:37 +0100
commitf30cd317b0cc0c193e086cd1b7001825d9891647 (patch)
treecf1d1336cebefadea04670a801de8d09463a1566 /src
parent64a3b0bd5028199cd4a98878606af39b00213f1c (diff)
Describe facedesc in :face docstring
Diffstat (limited to 'src')
-rw-r--r--src/commands.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/commands.cc b/src/commands.cc
index e496124a..e1aad46d 100644
--- a/src/commands.cc
+++ b/src/commands.cc
@@ -1477,7 +1477,13 @@ static Completions complete_face(const Context&, CompletionFlags flags,
const CommandDesc face_cmd = {
"face",
nullptr,
- "face <name> <facespec>: set face <name> to refer to <facespec>\n",
+ "face <name> <facespec>: set face <name> to refer to <facespec>\n"
+ "\n"
+ "facespec format is <fg color>[,<bg color>][+<attributes>]\n"
+ "colors are either a color name, or rgb:###### values.\n"
+ "attributes is a combination of:\n"
+ " u: underline, r: reverse, b: bold, B: blink, d: dim\n"
+ "facespec can as well just be the name of another face" ,
ParameterDesc{{}, ParameterDesc::Flags::None, 2, 2},
CommandFlags::None,
CommandHelper{},