diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-10-31 15:15:13 -0600 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-11-11 14:33:37 -0800 |
| commit | 588a542b2a23ba477031bf20b4c46b0f40a04b7d (patch) | |
| tree | 9e517866f45cdb903505e72c0fcbf821c0b00dcd /prog/prio.go | |
| parent | 5ed6283b64f91c8aa036122b18974aabed4c5249 (diff) | |
sys: add string flags
Allow to define string flags in txt descriptions. E.g.:
filesystem = "ext2", "ext3", "ext4"
and then use it in string type:
ptr[in, string[filesystem]]
Diffstat (limited to 'prog/prio.go')
| -rw-r--r-- | prog/prio.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/prio.go b/prog/prio.go index 9b0ace782..a6919372d 100644 --- a/prog/prio.go +++ b/prog/prio.go @@ -80,7 +80,7 @@ func calcStaticPriorities() [][]float32 { } case *sys.BufferType: switch a.Kind { - case sys.BufferBlobRand, sys.BufferBlobRange, sys.BufferFilesystem, sys.BufferAlgType, sys.BufferAlgName: + case sys.BufferBlobRand, sys.BufferBlobRange, sys.BufferAlgType, sys.BufferAlgName: case sys.BufferString: noteUsage(0.2, "str") case sys.BufferSockaddr: |
