Added exit & default to help if no main is specified
This commit is contained in:
@@ -268,7 +268,7 @@ module CliGen
|
|||||||
{% end %}
|
{% end %}
|
||||||
end
|
end
|
||||||
{% else %}
|
{% else %}
|
||||||
puts self.as(Nil).help
|
puts help
|
||||||
exit 0
|
exit 0
|
||||||
{% end %}
|
{% end %}
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user