go_sysutils/exec_extra/funcs_cmdargopt.go

14 lines
228 B
Go
Raw Permalink Normal View History

2024-06-17 04:33:30 -04:00
package exec_extra
import (
`r00t2.io/goutils/bitmask`
)
// BitMask returns the underlying bitmask.MaskBit representation of a cmdArgOpt.
func (c cmdArgOpt) BitMask() (b bitmask.MaskBit) {
b = bitmask.MaskBit(c)
return
}