Skip to content

CLI Text Improvements

Jaidev Shriram requested to merge jaidevshriram/kdeconnect-kde:JD-Patch-1 into master

This MR is to improve the error message for kdeconnect-cli. A lot of the critical options in cli require an additional device argument, that is not specified and may confuse the user.

This MR just modifies the help options. Specifically, it stops the display of all options every time the device name/id isn't specified. The main reason for this is to prevent the actual message that'll resolve the error from getting lost with the --help options. Additionally, when the device name/id is missing, it will display instructions on how to specify the display name/id.

Test

The procedure for testing this is similiar to regular development as found on the community website. The new message should look something like this:

image

This was tested on Manjaro.

Merge request reports