support for compiled in defaults (nothing uses it yet)

This commit is contained in:
Nicholas O'Connor 2017-04-14 20:29:16 -07:00
parent 34e048c535
commit 4b6f23f5fb
2 changed files with 4 additions and 1 deletions

3
cogrc
View File

@ -1,3 +1,6 @@
[version]
release=no
release_version=0.3
[defaults]
wine-path=wine

View File

@ -65,7 +65,7 @@ vector<string> cellar::commands::list_commands() {
with open("src/{0}/help/{1}".format(base, name)) as detailsfile:
for detail in detailsfile:
cog.out(detail, trimblanklines=True)
cog.out(")\");")
cog.outl(")\");")
else:
print("-- No details are available for the {0} command.".format(name))
cog.outl(" return result;")