Update manpage for the manual command
MODIFY
commands/commandimpls/manual.go
commands/commandimpls/manual.go
@@ -8,19 +8,28 @@ import (
"github.com/Bios-Marcel/cordless/ui"
)
-const manualDocumentation = `[orange][::u]# manual[white]
-
-Please supply a topic that you want to know more about.
- [-]manual <topic>[white]
-
-Available topics:
- * commands
- * chat-view
- * configuration
- * message-editor
- * navigation
-
-Alternatively you can enter the name of any command as the topic.`
+const manualDocumentation = `[::b]NAME
+ manual - view the documentation for a topic or command
+
+[::b]SYNOPSIS
+ [::b]manual <topic|command>
+
+[::b]DESCRIPTION
+ This command will show the manual of the supplied topic / command.
+
+[::b]TOPICS
+ Besides commands like [::b]friends[::-] or [::b]status[::-], you can also supply one of the following topics:
+ - commands
+ - chat-view
+ - configuration
+ - message-editor
+ - navigation
+
+[::b]EXAMPLES
+ [gray]$ man user
+ [white][::b]NAME
+ user - manipulate and retrieve your ...
+`
// Manual is the command that displays the application manual.
type Manual struct {

Update manpage for the manual command