Skip to content

Commit 530d556

Browse files
committed
Some more reformatting
1 parent 6ff6b68 commit 530d556

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

threema/gateway/bin/gateway_client.py

+17-14
Original file line numberDiff line numberDiff line change
@@ -359,10 +359,11 @@ async def send_image(ctx, **arguments):
359359

360360

361361
@cli.command(short_help='Send a video using end-to-end mode.', help="""
362-
Encrypt and send a video ('mp4') including a thumbnail to the given ID.
363-
FROM is the API identity and SECRET is the API secret.
364-
VIDEO_PATH is a relative or absolute path to a video.
365-
THUMBNAIL_PATH is a relative or absolute path to a thumbnail.
362+
Encrypt and send a video ('mp4') including a thumbnail to the given ID. FROM is
363+
the API identity and SECRET is the API secret. VIDEO_PATH is a relative or
364+
absolute path to a video. THUMBNAIL_PATH is a relative or absolute path to a
365+
thumbnail.
366+
366367
Prints the message ID on success.
367368
""")
368369
@click.argument('to')
@@ -411,9 +412,10 @@ async def send_video(ctx, **arguments):
411412

412413

413414
@cli.command(short_help='Send a file using end-to-end mode.', help="""
414-
Encrypt and send a file to the given ID, optionally with a thumbnail and/ or caption.
415-
FROM is the API identity and SECRET is the API secret.
416-
FILE_PATH is a relative or absolute path to a file.
415+
Encrypt and send a file to the given ID, optionally with a thumbnail and/ or
416+
caption. FROM is the API identity and SECRET is the API secret. FILE_PATH is a
417+
relative or absolute path to a file.
418+
417419
Prints the message ID on success.
418420
""")
419421
@click.argument('to')
@@ -464,9 +466,9 @@ async def send_file(ctx, **arguments):
464466

465467

466468
@cli.command(short_help='Lookup a Threema ID or the public key.', help="""
467-
Lookup the public key of the Threema ID or the ID linked to either the
468-
given email address or the given phone number.
469-
FROM is the API identity and SECRET is the API secret.
469+
Lookup the public key of the Threema ID or the ID linked to either the given
470+
email address or the given phone number. FROM is the API identity and SECRET is
471+
the API secret.
470472
""")
471473
@click.argument('from')
472474
@click.argument('secret')
@@ -497,8 +499,9 @@ async def lookup(ctx, **arguments):
497499

498500

499501
@cli.command(short_help='Lookup the reception capabilities of a Threema ID', help="""
500-
Lookup the reception capabilities of a Threema ID.
501-
FROM is the API identity and SECRET is the API secret.
502+
Lookup the reception capabilities of a Threema ID. FROM is the API identity and
503+
SECRET is the API secret.
504+
502505
Prints a set of capabilities in alphabetical order on success.
503506
""")
504507
@click.argument('from')
@@ -518,8 +521,8 @@ async def capabilities(ctx, **arguments):
518521

519522
# noinspection PyShadowingBuiltins
520523
@cli.command(short_help='Get the number of credits left on the account', help="""
521-
Retrieve the number of credits left on the used account.
522-
FROM is the API identity and SECRET is the API secret.
524+
Retrieve the number of credits left on the used account. FROM is the API
525+
identity and SECRET is the API secret.
523526
""")
524527
@click.argument('from')
525528
@click.argument('secret')

0 commit comments

Comments
 (0)