From bc6bea3f46a2097f8252179c1acf69fc8d4a1511 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 1 Jan 2022 02:54:52 +0100 Subject: [PATCH 1/2] Fix typos and first level headings in man page --- man/nheko.1.adoc.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/man/nheko.1.adoc.in b/man/nheko.1.adoc.in index 399908a4..28015841 100644 --- a/man/nheko.1.adoc.in +++ b/man/nheko.1.adoc.in @@ -1,6 +1,6 @@ = nheko(1) :doctype: manpage -:Date: 2021-12-22 +:Date: 2022-01-01 :Revision: @PROJECT_VERSION@ :man source: nheko :man manual: General Commands Manual @@ -37,7 +37,7 @@ Enables debug output. Creates a unique profile, which allows you to log into several accounts at the same time and start multiple instances of nheko. -== Keyboard shortcuts +== KEYBOARD SHORTCUTS === Room list @@ -82,7 +82,7 @@ Insert line break. *Enter*:: Submit message. -== Commands +== COMMANDS === Custom messages @@ -161,10 +161,10 @@ Rotates the encryption key used to send encrypted messages in a room. _address_ can be one of: __;; - Jumpd to event with the specified ID and highlights it. + Jumps to event with the specified ID and highlights it. __;; - Jumpd to the message with the specified index and highlights it. + Jumps to the message with the specified index and highlights it. __;; Handles Matrix URI as if you clicked on it. From 2d6c5444e6a16285550c7d0f5d31923f3fc3ddb6 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 1 Jan 2022 03:03:45 +0100 Subject: [PATCH 2/2] man: Document arguments for invite, kick, ban, unban, shrug --- man/nheko.1.adoc.in | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/man/nheko.1.adoc.in b/man/nheko.1.adoc.in index 28015841..cbd35432 100644 --- a/man/nheko.1.adoc.in +++ b/man/nheko.1.adoc.in @@ -118,25 +118,25 @@ Join a room. */part*, */leave*:: Leave the current room. -*/invite* __:: -Invite a user into the current room. +*/invite* __ _[reason]_:: +Invite a user into the current room. _reason_ is optional. -*/kick* __:: -Kick a user from the current room. +*/kick* __ _[reason]_:: +Kick a user from the current room. _reason_ is optional. -*/ban* __:: -Ban a user from the current room. +*/ban* __ _[reason]_:: +Ban a user from the current room. _reason_ is optional. -*/unban* __:: -Unban a user. +*/unban* __ _[reason]_:: +Unban a user. _reason_ is optional. */roomnick* __:: Change your nickname in a single room. === Emoticons -*/shrug*:: -Inserts `¯\_(ツ)_/¯` +*/shrug* _[message]_:: +Inserts `¯\_(ツ)_/¯` followed by an optional _message_. */fliptable*:: Inserts `(╯°□°)╯︵ ┻━┻`