aboutsummaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-05-17 00:13:41 +0000
committerFurkan Sahin <furkan-dev@proton.me>2019-05-17 00:13:41 +0000
commit27f634ee9d9a043d3a79fdcdbce9a3c34ef882ff (patch)
tree3a0e40cdd850ff8081484b374d2bbd040d2420bd /protocols
parent6beb048a96af926b6bb34f4d26383bf20bad2155 (diff)
commands/bar: improve error for invalid subcommand
Running a command like this produced a confusing error message: $ swaymsg bar bar-0 colors background #ff0000 Error: Unknown/invalid command 'bar-0' This patch makes the error message use argv[1] instead of argv[0] (from config_subcommand's implementation), so it actually uses the name of the command, rather than the id of the bar.
Diffstat (limited to 'protocols')
0 files changed, 0 insertions, 0 deletions