qme
qme copied to clipboard
Please provide a simple help text
It would be helpful if the qme
command accepted at least a -h
option for a minimal help text — e.g.:
$ qme -h
usage: qme [-h] COMMAND [ARG ...]
positional arguments:
COMMAND command to run
ARG optional argument(s)
options:
-h, --help show this help message and exit
As it is, qme
will try ro queue -h
as a command:
$ qme -h
2022/06/20 15:22:22 assuming server role
2022/06/20 15:22:22 enqueueing '-h'
2022/06/20 15:22:22 failed to execute command -h: exec: "-h": executable file not found in $PATH
2022/06/20 15:22:22 idling...
2022/06/20 15:22:22 listening on /tmp/qme.sock
PS: A -V
/--version
option would also come in handy — e.g., for bug reports.
Very much agreed. This was also mentioned in https://github.com/abdusco/qme/issues/1.
I'll add a proper argument parser for --help
and other options down the line.
Ah, thanks, I only looked at the issue titles before I submitted the ticket, so I didn't see it mentioned in #1.