service: Add more indentation in brief help descriptions
patch 720468dce764675132030772fcb93f4bb5b00724
Author: E. Bosch <presidev@AT@gmail.com>
Date: Mon May 8 01:12:09 CEST 2023
* service: Add more indentation in brief help descriptions
diff -rN -u old-irgramd/service.py new-irgramd/service.py
--- old-irgramd/service.py 2024-11-22 16:18:49.761044519 +0100
+++ new-irgramd/service.py 2024-11-22 16:18:49.761044519 +0100
@@ -57,7 +57,7 @@
reply = ('Code must be numeric',)
else: # HELP.brief or HELP.desc (first line)
- reply = (' code Enter authorization code',)
+ reply = (' code Enter authorization code',)
if help == HELP.desc: # rest of HELP.desc
reply += \
(
@@ -102,7 +102,7 @@
)
else: # HELP.brief or HELP.desc (first line)
- reply = (' dialog Manage conversations (dialogs)',)
+ reply = (' dialog Manage conversations (dialogs)',)
if help == HELP.desc: # rest of HELP.desc
reply += \
(
@@ -121,7 +121,7 @@
end_help = ('*** End of Help ***',)
if help == HELP.brief:
- help_text = (' help This help',)
+ help_text = (' help This help',)
elif not help_command or help_command == 'help':
help_text = start_help
help_text += \
@@ -200,7 +200,7 @@
return reply
else: # HELP.brief or HELP.desc (first line)
- reply = (' history Get messages from history',)
+ reply = (' history Get messages from history',)
if help == HELP.desc: # rest of HELP.desc
reply += \
(
@@ -222,7 +222,7 @@
await self.tg.telegram_client.send_read_acknowledge(peer_id, clear_mentions=True)
reply = ('',)
else: # HELP.brief or HELP.desc (first line)
- reply = (' mark_read Mark messages as read',)
+ reply = (' mark_read Mark messages as read',)
if help == HELP.desc: # rest of HELP.desc
reply += \
(