diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-03-04 05:56:08 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-03-04 05:56:08 +0100 |
commit | 33cdc6010e9c19b6a74c65171c0557f0f2855f4c (patch) | |
tree | b5cd8efac684b5b3093b16d0f951dd7e86564840 /src | |
parent | d88ec5fdf10ecb168355bc38dc81d83ff59a0234 (diff) | |
download | biboumi-33cdc6010e9c19b6a74c65171c0557f0f2855f4c.tar.gz biboumi-33cdc6010e9c19b6a74c65171c0557f0f2855f4c.tar.bz2 biboumi-33cdc6010e9c19b6a74c65171c0557f0f2855f4c.tar.xz biboumi-33cdc6010e9c19b6a74c65171c0557f0f2855f4c.zip |
Set the default value to biboumi.cfg
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9042a57..98013eb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -55,6 +55,9 @@ int main(int ac, char** av) { if (ac > 1) Config::filename = av[1]; + else + Config::filename = "biboumi.cfg"; + Config::file_must_exist = true; std::cerr << "Using configuration file: " << Config::filename << std::endl; |