diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9eb8a4b..0a54d52 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -8,9 +8,9 @@ int main(int argc, char *argv[]) { - if (argc != 1) + if (argc != 2) { std::cout << "Usage: " << argv[0] << " <config file>" << std::endl; - else { + } else { // Check if file exists std::ifstream f(argv[1]); if (!f) { |