Browse Source

Add captcha parameter to register command help

Tulir Asokan 4 năm trước cách đây
mục cha
commit
386e5e1269
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      mautrix_signal/commands/auth.py

+ 1 - 1
mautrix_signal/commands/auth.py

@@ -82,7 +82,7 @@ async def link(evt: CommandEvent) -> None:
                  help_text="Sign into Signal as the primary device", help_args="<phone>")
 async def register(evt: CommandEvent) -> None:
     if len(evt.args) == 0:
-        await evt.reply("**Usage**: $cmdprefix+sp register [--voice] <phone>")
+        await evt.reply("**Usage**: $cmdprefix+sp register [--voice] [--captcha <token>] <phone>")
         return
     voice = False
     captcha = None