Skip to content

What does "sketchybar -m" do? #293

Answered by FelixKratz
neutonfoo asked this question in Q&A
Discussion options

You must be logged in to vote

Prior to sketchybar-v2.3.3 it was mandatory to include the -m or --message argument before any command (just as it is in yabai). I have made this optional here: https://github.com/FelixKratz/SketchyBar/releases/tag/v2.3.3

I have only chosen to keep the -m or --message arguments to ensure retro-compatibility, but it can be safely omitted everywhere where it is still used as you can see in the code and I would consider it deprecated because it is not included in the docs anymore:

SketchyBar/src/sketchybar.m

Lines 169 to 172 in 9cca916

if ((string_equals(argv[1], CLIENT_OPT_LONG)) || (string_equals(argv[1], CLIENT_OPT_SHRT)))
exit(client_send_message(argc-1, argv+1));

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@neutonfoo
Comment options

Answer selected by neutonfoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants