summaryrefslogtreecommitdiffstats
path: root/.ci
diff options
context:
space:
mode:
authorLibravatar Christoph Gysin <christoph.gysin@gmail.com>2015-11-28 16:35:44 +0200
committerLibravatar Christoph Gysin <christoph.gysin@gmail.com>2015-11-28 23:50:44 +0200
commit923c3245ace71ea0e26a0b12746a699fa499f759 (patch)
treeb3fe2cdbd20aa595dc4d4d4c5093172cce1d4054 /.ci
parentswaymsg: Add --help option that prints usage (diff)
downloadsway-923c3245ace71ea0e26a0b12746a699fa499f759.tar.gz
sway-923c3245ace71ea0e26a0b12746a699fa499f759.tar.zst
sway-923c3245ace71ea0e26a0b12746a699fa499f759.zip
Fix option parsing
Using 'flag' results in duplicate code paths for short and long options. This broke the -q short option in swaymsg, because there was: {"quiet", no_argument, &quiet, 'q'} Which will set quiet to 'q' and return 0, not 'q'.
Diffstat (limited to '.ci')
0 files changed, 0 insertions, 0 deletions