summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
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) {