Added exit & default to help if no main is specified

This commit is contained in:
Tristan Ancelet
2026-08-12 13:10:30 -05:00
parent 18c5a559b1
commit e6d9306e69
+1 -1
View File
@@ -268,7 +268,7 @@ module CliGen
{% end %}
end
{% else %}
puts self.as(Nil).help
puts help
exit 0
{% end %}
end