diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-20 08:37:09 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-20 08:37:24 -0400 |
commit | 579fe70ed92ce65d5a761ebdbb6c458b5f919687 (patch) | |
tree | a56ab8990f003d4408f1ef71d35c425a3545aec2 /sway/commands.c | |
parent | 927ef0a5ecbd5fae71e862cdd9b6c83fa1c481d8 (diff) |
Add command line parsing
Closes #6
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index a3f74747..803d9a21 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -414,7 +414,7 @@ static bool cmd_reload(struct sway_config *config, int argc, char **argv) { if (!checkarg(argc, "reload", EXPECTED_EQUAL_TO, 0)) { return false; } - if (!load_config()) { + if (!load_config(NULL)) { // TODO: Use config given from -c return false; } arrange_windows(&root_container, -1, -1); |