aboutsummaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
authorYacine Hmito <yacine.hmito@gmail.com>2016-02-25 21:49:53 +0100
committerYacine Hmito <yacine.hmito@gmail.com>2016-02-25 21:50:24 +0100
commit179192e22292f3bdcd19e8f9d6e9e1262970bf55 (patch)
treea91b9264065b3cba030d17fa3bb5609d1d09daa4 /sway/main.c
parent28c8e4fb9e6da839d353be723be60bb7bf2ebcdb (diff)
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/main.c')
-rw-r--r--sway/main.c2
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) {
int c;
while (1) {
int option_index = 0;
- c = getopt_long(argc, argv, "hCdvVpc:", long_options, &option_index);
+ c = getopt_long(argc, argv, "hCdvVc:", long_options, &option_index);
if (c == -1) {
break;
}