boolparam doc
This commit is contained in:
parent
5796383da7
commit
de8042b73b
|
@ -28,6 +28,7 @@ func nameParam(params *cli.Context) string {
|
|||
return name
|
||||
}
|
||||
|
||||
// boolParam is used to check the presence of a bool flag
|
||||
func boolParam(b bool) bool {
|
||||
if b {
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue