14 lines
228 B
Go
14 lines
228 B
Go
|
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
|
||
|
}
|