summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Maas <opensource@till.name>2010-03-28 13:53:10 +0200
committerTill Maas <opensource@till.name>2010-03-28 13:53:10 +0200
commit32ccc1a24a14fa7be7360779dae94e16446c873f (patch)
treec12b73e5d24393ec7bd308714b2f182af0d3f9f7
parent1f88d08b633610aa3bb1da36cb4d9b6692601e35 (diff)
cnucnu.py: add comment about default config file
-rwxr-xr-xcnucnu.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cnucnu.py b/cnucnu.py
index b38e1fc..9f6ade0 100755
--- a/cnucnu.py
+++ b/cnucnu.py
@@ -51,6 +51,9 @@ if __name__ == '__main__':
sys.stdout.write(global_config.yaml)
sys.exit(0)
+
+ # default to ./cnucnu.yaml if it exists and no config file is specified on
+ # the commandline
yaml_file = options.config_filename
if not yaml_file:
new_yaml_file = "./cnucnu.yaml"