Added exit & default to help if no main is specified
This commit is contained in:
1 parent
18c5a559b1
commit
e6d9306e69
1 file changed
+1
-1
@@ -268,7 +268,7 @@ module CliGen
|
||||
{% end %}
|
||||
end
|
||||
{% else %}
|
||||
puts self.as(Nil).help
|
||||
puts help
|
||||
exit 0
|
||||
{% end %}
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user