summaryrefslogtreecommitdiffstats
path: root/config.in
diff options
context:
space:
mode:
authorLibravatar Alyssa Ross <hi@alyssa.is>2019-05-17 00:13:41 +0000
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-05-19 11:47:16 -0400
commite4f1ffe6015fbd33994a18f1de65cbd62c177a83 (patch)
tree3a0e40cdd850ff8081484b374d2bbd040d2420bd /config.in
parentbar: fix segfault with missing or invalid bar id (diff)
downloadsway-e4f1ffe6015fbd33994a18f1de65cbd62c177a83.tar.gz
sway-e4f1ffe6015fbd33994a18f1de65cbd62c177a83.tar.zst
sway-e4f1ffe6015fbd33994a18f1de65cbd62c177a83.zip
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 'config.in')
0 files changed, 0 insertions, 0 deletions