support for compiled in defaults (nothing uses it yet)
This commit is contained in:
parent
34e048c535
commit
4b6f23f5fb
3
cogrc
3
cogrc
@ -1,3 +1,6 @@
|
|||||||
[version]
|
[version]
|
||||||
release=no
|
release=no
|
||||||
release_version=0.3
|
release_version=0.3
|
||||||
|
|
||||||
|
[defaults]
|
||||||
|
wine-path=wine
|
||||||
|
@ -65,7 +65,7 @@ vector<string> cellar::commands::list_commands() {
|
|||||||
with open("src/{0}/help/{1}".format(base, name)) as detailsfile:
|
with open("src/{0}/help/{1}".format(base, name)) as detailsfile:
|
||||||
for detail in detailsfile:
|
for detail in detailsfile:
|
||||||
cog.out(detail, trimblanklines=True)
|
cog.out(detail, trimblanklines=True)
|
||||||
cog.out(")\");")
|
cog.outl(")\");")
|
||||||
else:
|
else:
|
||||||
print("-- No details are available for the {0} command.".format(name))
|
print("-- No details are available for the {0} command.".format(name))
|
||||||
cog.outl(" return result;")
|
cog.outl(" return result;")
|
||||||
|
Loading…
Reference in New Issue
Block a user