boolparam doc

This commit is contained in:
alessio 2016-08-21 20:19:24 +02:00
parent 5796383da7
commit de8042b73b
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ func nameParam(params *cli.Context) string {
return name return name
} }
// boolParam is used to check the presence of a bool flag
func boolParam(b bool) bool { func boolParam(b bool) bool {
if b { if b {
return false return false