diff options
author | Yacine Hmito <yacine.hmito@gmail.com> | 2016-02-25 21:49:53 +0100 |
---|---|---|
committer | Yacine Hmito <yacine.hmito@gmail.com> | 2016-02-25 21:50:24 +0100 |
commit | 179192e22292f3bdcd19e8f9d6e9e1262970bf55 (patch) | |
tree | a91b9264065b3cba030d17fa3bb5609d1d09daa4 /sway | |
parent | Merge pull request #493 from mikkeloscar/view-behind-swaylock (diff) | |
download | sway-179192e22292f3bdcd19e8f9d6e9e1262970bf55.tar.gz sway-179192e22292f3bdcd19e8f9d6e9e1262970bf55.tar.zst sway-179192e22292f3bdcd19e8f9d6e9e1262970bf55.zip |
Removed p as a valid CLI option
The get-socketpath long option had an undocumented short alternative
as `p`. It has been removed.
However, the code in the options array is still the 'p' char.
Diffstat (limited to 'sway')
-rw-r--r-- | sway/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c index db2ed856..442d36ee 100644 --- a/sway/main.c +++ b/sway/main.c | |||
@@ -103,7 +103,7 @@ int main(int argc, char **argv) { | |||
103 | int c; | 103 | int c; |
104 | while (1) { | 104 | while (1) { |
105 | int option_index = 0; | 105 | int option_index = 0; |
106 | c = getopt_long(argc, argv, "hCdvVpc:", long_options, &option_index); | 106 | c = getopt_long(argc, argv, "hCdvVc:", long_options, &option_index); |
107 | if (c == -1) { | 107 | if (c == -1) { |
108 | break; | 108 | break; |
109 | } | 109 | } |