Mandatory command options not shown correctly
Bug #529990 reported by
andypiper
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| mosquitto |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
mosquitto_pub and mosquitto_sub have a couple of options which are mandatory (-m and -t in the case of _pub, and -t for _sub)
These are not listed clearly in the command usage shown by default if no options are given, and curly braces are used to show them in the man pages which is not a standard way of showing mandatory options - curly braces are usually used to show options with a fixed set of possibilities. Required values are shown without braces.
| Changed in mosquitto: | |
| status: | New → In Progress |
| Changed in mosquitto: | |
| status: | In Progress → Fix Committed |
| Changed in mosquitto: | |
| status: | Fix Committed → Fix Released |
To post a comment you must log in.

Strictly speaking, mosquitto_sub has no mandatory arguments, although it might be worth changing it so that -t is mandatory. What do you think?