Skip to content

Commit

Permalink
commands/login-curl: fix help when args are empty
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <sumner@beeper.com>
  • Loading branch information
sumnerevans committed Feb 9, 2024
1 parent c90a59a commit 75c3bcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linkedin_matrix/commands/auth.py
Expand Up @@ -107,10 +107,10 @@ async def login_curl(evt: CommandEvent):
# return

if len(evt.args) == 0:
await evt.reply("**Usage:** `$cmdprefix+sp login_curl <cookie header>`")
await evt.reply("**Usage:** `$cmdprefix+sp login-curl <curl command>`")
return

# await evt.redact()
await evt.redact()

curl_command = " ".join(evt.args)

Expand Down

0 comments on commit 75c3bcb

Please sign in to comment.