Skip to content

Commit ecea643

Browse files
committed
tiny bug fix
- bug fix as outlined in Issue #198 - added debug info when "user" verification is attempted which is not supported, informing user that this is not supported
1 parent 00cc700 commit ecea643

11 files changed

+85
-79
lines changed

README.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ options:
968968
matrix-commander without ever logging out. --logout is
969969
a cleanup if you have decided not to use this (or all)
970970
device(s) ever again.
971-
-c CREDENTIALS_FILE, --credentials CREDENTIALS_FILE
971+
-c, --credentials CREDENTIALS_FILE
972972
Specify location of credentials file. Details:: On
973973
first run, information about homeserver, user, room
974974
id, etc. will be written to a credentials file. By
@@ -978,7 +978,7 @@ options:
978978
to the preconfigured room. If this option is provided,
979979
the provided file name will be used as credentials
980980
file instead of the default one.
981-
-s STORE_DIRECTORY, --store STORE_DIRECTORY
981+
-s, --store STORE_DIRECTORY
982982
Specify location of store directory. Details:: Path to
983983
directory to be used as "store" for encrypted
984984
messaging. By default, this directory is "./store/".
@@ -989,7 +989,7 @@ options:
989989
program use the same store for the same device. The
990990
store directory can be shared between multiple
991991
different devices and users.
992-
-r ROOM [ROOM ...], --room ROOM [ROOM ...]
992+
-r, --room ROOM [ROOM ...]
993993
Specify one or multiple rooms. Details:: Optionally
994994
specify one or multiple rooms via room ids or room
995995
aliases. --room is used by various send actions and
@@ -1115,7 +1115,7 @@ options:
11151115
Specify the rooms as arguments to this option, i.e. as
11161116
arguments to --room-kick. The user must have
11171117
permissions to kick users.
1118-
-u USER [USER ...], --user USER [USER ...]
1118+
-u, --user USER [USER ...]
11191119
Specify one or multiple users. Details:: This option
11201120
is meaningful in combination with a) room actions like
11211121
--room-invite, --room-ban, --room-unban, etc. and b)
@@ -1180,7 +1180,7 @@ options:
11801180
option is only meaningful in combination with option
11811181
--room-dm-create. This option --alias specifies the
11821182
aliases to be used with the command --room-dm-create.
1183-
-m TEXT [TEXT ...], --message TEXT [TEXT ...]
1183+
-m, --message TEXT [TEXT ...]
11841184
Send one or multiple text messages. Details:: Message
11851185
data must not be binary data, it must be text. If no
11861186
'-m' is used and no other conflicting arguments are
@@ -1218,7 +1218,7 @@ options:
12181218
all input instantly. If you want to send the literal
12191219
letter '_' then escape it and send '\_'. '_' can be
12201220
used only once. And either '-' or '_' can be used.
1221-
-i IMAGE_FILE [IMAGE_FILE ...], --image IMAGE_FILE [IMAGE_FILE ...]
1221+
-i, --image IMAGE_FILE [IMAGE_FILE ...]
12221222
Send one or multiple image files. Details:: This
12231223
option can be used multiple times to send multiple
12241224
images. First images are sent, then text messages are
@@ -1234,23 +1234,23 @@ options:
12341234
overall in all arguments. If the file exists already,
12351235
it is more efficient to specify the file name than to
12361236
pipe the file through stdin.
1237-
-a AUDIO_FILE [AUDIO_FILE ...], --audio AUDIO_FILE [AUDIO_FILE ...]
1237+
-a, --audio AUDIO_FILE [AUDIO_FILE ...]
12381238
Send one or multiple audio files. Details:: This
12391239
option can be used multiple times to send multiple
12401240
audio files. First audios are sent, then text messages
12411241
are sent. If you want to feed an audio into matrix-
12421242
commander via a pipe, via stdin, then specify the
12431243
special character '-'. See description of '-i' to see
12441244
how '-' is handled.
1245-
-f FILE [FILE ...], --file FILE [FILE ...]
1245+
-f, --file FILE [FILE ...]
12461246
Send one or multiple files (e.g. PDF, DOC, MP4).
12471247
Details:: This option can be used multiple times to
12481248
send multiple files. First files are sent, then text
12491249
messages are sent. If you want to feed a file into
12501250
matrix-commander via a pipe, via stdin, then specify
12511251
the special character '-'. See description of '-i' to
12521252
see how '-' is handled.
1253-
-e MATRIX_JSON_OBJECT [MATRIX_JSON_OBJECT ...], --event MATRIX_JSON_OBJECT [MATRIX_JSON_OBJECT ...]
1253+
-e, --event MATRIX_JSON_OBJECT [MATRIX_JSON_OBJECT ...]
12541254
Send a Matrix JSON event. Details:: Send an event that
12551255
is formatted as a JSON object as specified by the
12561256
Matrix protocol. This allows the advanced user to send
@@ -1284,7 +1284,7 @@ options:
12841284
both --code and --emojize are specified then --code
12851285
takes priority. This is useful for sending emojis in
12861286
shortcode form :collision:.
1287-
-p SEPARATOR, --split SEPARATOR
1287+
-p, --split SEPARATOR
12881288
Split message text into multiple Matrix messages.
12891289
Details:: If set, split the message(s) into multiple
12901290
messages wherever the string specified with --split
@@ -1316,7 +1316,7 @@ options:
13161316
without this argument. This flag exists only for
13171317
historic reasons. In some specific case encryption can
13181318
be disabled, please see --plain.
1319-
-l [NEVER|ONCE|FOREVER|TAIL|ALL], --listen [NEVER|ONCE|FOREVER|TAIL|ALL]
1319+
-l, --listen [NEVER|ONCE|FOREVER|TAIL|ALL]
13201320
Print received messages and listen to messages.
13211321
Details:: The --listen option takes one argument.
13221322
There are several choices: "never", "once", "forever",
@@ -1346,8 +1346,7 @@ options:
13461346
rooms, "tail" and "all" listen only to the room
13471347
specified in the credentials file or the --room
13481348
options.
1349-
-t [NUMBER], --tail [NUMBER]
1350-
Print last messages. Details:: The --tail option reads
1349+
-t, --tail [NUMBER] Print last messages. Details:: The --tail option reads
13511350
and prints up to the last N messages from the
13521351
specified rooms, then quits. It takes one argument, an
13531352
integer, which we call N here. If there are fewer than
@@ -1658,7 +1657,7 @@ options:
16581657
with which the file will be encrypted with. Note that
16591658
this does not save other information such as the
16601659
private identity keys of the device.
1661-
--room-set-alias ROOM_ALIAS ROOM [ROOM_ALIAS ROOM ...], --room-put-alias ROOM_ALIAS ROOM [ROOM_ALIAS ROOM ...]
1660+
--room-set-alias, --room-put-alias ROOM_ALIAS ROOM [ROOM_ALIAS ROOM ...]
16621661
Add aliases to rooms. Details:: Add an alias to a
16631662
room, or aliases to multiple rooms. Provide pairs of
16641663
arguments. In each pair, the first argument must be
@@ -1756,7 +1755,7 @@ options:
17561755
HTTPS), then the password can be visible to attackers.
17571756
Hence, if the server does not support HTTPS this
17581757
operation is discouraged.
1759-
--room-redact ROOM_ID EVENT_ID REASON [ROOM_ID EVENT_ID REASON ...], --room-delete-content ROOM_ID EVENT_ID REASON [ROOM_ID EVENT_ID REASON ...]
1758+
--room-redact, --room-delete-content ROOM_ID EVENT_ID REASON [ROOM_ID EVENT_ID REASON ...]
17601759
Strip information out of one or several events.
17611760
Details:: Strip information from events, e.g.
17621761
messages. Redact is used in the meaning of 'strip,
@@ -1875,7 +1874,7 @@ options:
18751874
and the server before a 'send'. If you have chosen
18761875
'off', synchronization will be skipped entirely before
18771876
the 'send' which will improve performance.
1878-
-o TEXT|JSON|JSON-MAX|JSON-SPEC, --output TEXT|JSON|JSON-MAX|JSON-SPEC
1877+
-o, --output TEXT|JSON|JSON-MAX|JSON-SPEC
18791878
Select an output format. Details:: This option decides
18801879
on how the output is presented. Currently offered
18811880
choices are: 'text', 'json', 'json-max', and 'json-
@@ -1930,7 +1929,7 @@ options:
19301929
might want to store the output (room id) so that you
19311930
can join the room later with '--room-join' for
19321931
example. Don't confuse this option with --room-invite.
1933-
-v [PRINT|CHECK], -V [PRINT|CHECK], --version [PRINT|CHECK]
1932+
-v, -V, --version [PRINT|CHECK]
19341933
Print version information or check for updates.
19351934
Details:: This option takes zero or one argument. If
19361935
no argument is given, 'print' is assumed which will
@@ -1945,7 +1944,7 @@ options:
19451944
the program will continue to run. This is useful for
19461945
having version number in the log files.
19471946
1948-
You are running version 8.0.4 2024-11-21. Enjoy, star on Github and contribute
1947+
You are running version 8.0.5 2025-06-17. Enjoy, star on Github and contribute
19491948
by submitting a Pull Request. Also have a look at matrix-commander-tui.
19501949
```
19511950

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.0.4
1+
8.0.5
-130 KB
Binary file not shown.

dist/matrix_commander-8.0.4.tar.gz

-194 KB
Binary file not shown.
130 KB
Binary file not shown.

dist/matrix_commander-8.0.5.tar.gz

194 KB
Binary file not shown.

help.help.txt

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ matrix-commander supports these arguments:
2323
Perform verification.
2424
--logout ME|ALL
2525
Logout.
26-
-c CREDENTIALS_FILE, --credentials CREDENTIALS_FILE
26+
-c, --credentials CREDENTIALS_FILE
2727
Specify location of credentials file.
28-
-s STORE_DIRECTORY, --store STORE_DIRECTORY
28+
-s, --store STORE_DIRECTORY
2929
Specify location of store directory.
30-
-r ROOM [ROOM ...], --room ROOM [ROOM ...]
30+
-r, --room ROOM [ROOM ...]
3131
Specify one or multiple rooms.
3232
--room-default DEFAULT_ROOM
3333
Specify the default room at --login.
@@ -51,7 +51,7 @@ matrix-commander supports these arguments:
5151
Unban one ore more users from one or more rooms.
5252
--room-kick ROOM [ROOM ...]
5353
Kick one ore more users from one or more rooms.
54-
-u USER [USER ...], --user USER [USER ...]
54+
-u, --user USER [USER ...]
5555
Specify one or multiple users.
5656
--user-login USER
5757
Specify user for --login.
@@ -61,16 +61,15 @@ matrix-commander supports these arguments:
6161
Specify one or multiple room topics.
6262
--alias ROOM_ALIAS [ROOM_ALIAS ...]
6363
Specify one or multiple room aliases.
64-
-m TEXT [TEXT ...], --message TEXT [TEXT ...]
64+
-m, --message TEXT [TEXT ...]
6565
Send one or multiple text messages.
66-
-i IMAGE_FILE [IMAGE_FILE ...], --image IMAGE_FILE [IMAGE_FILE ...]
66+
-i, --image IMAGE_FILE [IMAGE_FILE ...]
6767
Send one or multiple image files.
68-
-a AUDIO_FILE [AUDIO_FILE ...], --audio AUDIO_FILE [AUDIO_FILE ...]
68+
-a, --audio AUDIO_FILE [AUDIO_FILE ...]
6969
Send one or multiple audio files.
70-
-f FILE [FILE ...], --file FILE [FILE ...]
70+
-f, --file FILE [FILE ...]
7171
Send one or multiple files (e.g. PDF, DOC, MP4).
72-
-e MATRIX_JSON_OBJECT [MATRIX_JSON_OBJECT ...], --event MATRIX_JSON_OBJECT
73-
[MATRIX_JSON_OBJECT ...]
72+
-e, --event MATRIX_JSON_OBJECT [MATRIX_JSON_OBJECT ...]
7473
Send a Matrix JSON event.
7574
-w, --html
7675
Send message as format "HTML".
@@ -80,7 +79,7 @@ matrix-commander supports these arguments:
8079
Send message as format "CODE".
8180
-j, --emojize
8281
Send message after emojizing.
83-
-p SEPARATOR, --split SEPARATOR
82+
-p, --split SEPARATOR
8483
Split message text into multiple Matrix messages.
8584
--config CONFIG_FILE
8685
Specify the location of a config file.
@@ -90,9 +89,9 @@ matrix-commander supports these arguments:
9089
Send message as notice.
9190
--encrypted
9291
Send message end-to-end encrypted.
93-
-l [NEVER|ONCE|FOREVER|TAIL|ALL], --listen [NEVER|ONCE|FOREVER|TAIL|ALL]
92+
-l, --listen [NEVER|ONCE|FOREVER|TAIL|ALL]
9493
Print received messages and listen to messages.
95-
-t [NUMBER], --tail [NUMBER]
94+
-t, --tail [NUMBER]
9695
Print last messages.
9796
-y, --listen-self
9897
Print your own messages as well.
@@ -157,8 +156,7 @@ BAN|INVITE|KICK|NOTIFICATIONS|REDACT|etc ...]
157156
Import Megolm decryption keys from a file.
158157
--export-keys FILE PASSPHRASE FILE PASSPHRASE
159158
Export all the Megolm decryption keys of this device.
160-
--room-set-alias ROOM_ALIAS ROOM [ROOM_ALIAS ROOM ...], --room-put-alias
161-
ROOM_ALIAS ROOM [ROOM_ALIAS ROOM ...]
159+
--room-set-alias, --room-put-alias ROOM_ALIAS ROOM [ROOM_ALIAS ROOM ...]
162160
Add aliases to rooms.
163161
--room-resolve-alias ROOM_ALIAS [ROOM_ALIAS ...]
164162
Show room ids corresponding to room aliases.
@@ -172,8 +170,8 @@ ROOM_ALIAS ROOM [ROOM_ALIAS ROOM ...]
172170
Get the state of one or more rooms.
173171
--delete-device DEVICE [DEVICE ...]
174172
Delete one or multiple devices.
175-
--room-redact ROOM_ID EVENT_ID REASON [ROOM_ID EVENT_ID REASON ...], --room-
176-
delete-content ROOM_ID EVENT_ID REASON [ROOM_ID EVENT_ID REASON ...]
173+
--room-redact, --room-delete-content ROOM_ID EVENT_ID REASON [ROOM_ID EVENT_ID
174+
REASON ...]
177175
Strip information out of one or several events.
178176
--whoami
179177
Print your user id.
@@ -199,12 +197,12 @@ delete-content ROOM_ID EVENT_ID REASON [ROOM_ID EVENT_ID REASON ...]
199197
Specify a device name, for use by certain actions.
200198
--sync FULL|OFF
201199
Choose synchronization options.
202-
-o TEXT|JSON|JSON-MAX|JSON-SPEC, --output TEXT|JSON|JSON-MAX|JSON-SPEC
200+
-o, --output TEXT|JSON|JSON-MAX|JSON-SPEC
203201
Select an output format.
204202
--room-invites [LIST|JOIN|LIST+JOIN]
205203
List room invitations and/or join invited rooms.
206-
-v [PRINT|CHECK], -V [PRINT|CHECK], --version [PRINT|CHECK]
204+
-v, -V, --version [PRINT|CHECK]
207205
Print version information or check for updates.
208206

209-
You are running version 8.0.4 2024-11-21. Enjoy, star on Github and contribute
207+
You are running version 8.0.5 2025-06-17. Enjoy, star on Github and contribute
210208
by submitting a Pull Request. Also have a look at matrix-commander-tui.

0 commit comments

Comments
 (0)