aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorVladimir Lavor <vlavor@cisco.com>2021-02-01 14:37:26 +0100
committerVladimir Lavor <vlavor@cisco.com>2021-02-02 14:40:06 +0100
commit4c1cccf48cd144414c7233f167087aff770ef67b (patch)
tree438adc0792f03c00b1b06cc1d0ce05c8cb5841ff /cmd
parentc0c73d34a7f5eae44e7c9230ddccc0cfcb201084 (diff)
binapigen: added enumflags type
Change-Id: I2f46504bd05862e415dab518fad349d08aedf919 Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/govpp/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/govpp/main.go b/cmd/govpp/main.go
index 98d5078..1c6b905 100644
--- a/cmd/govpp/main.go
+++ b/cmd/govpp/main.go
@@ -122,8 +122,8 @@ func showVPPAPI(out io.Writer, apifiles []*vppapi.File) {
}
imports := fmt.Sprintf("%d apis, %2d types", len(apifile.Imports), len(importedTypes))
path := strings.TrimPrefix(apifile.Path, vppapi.DefaultDir+"/")
- types := fmt.Sprintf("%2d enum, %2d alias, %2d struct, %2d union, %2d msg",
- len(apifile.EnumTypes), len(apifile.AliasTypes), len(apifile.StructTypes), len(apifile.UnionTypes), len(apifile.Messages))
+ types := fmt.Sprintf("%2d enum, %2d enumflag, %2d alias, %2d struct, %2d union, %2d msg",
+ len(apifile.EnumTypes), len(apifile.EnumflagTypes), len(apifile.AliasTypes), len(apifile.StructTypes), len(apifile.UnionTypes), len(apifile.Messages))
fmt.Fprintf(w, " %s\t%s\t%s\t%s\t%v\t%s\t\n",
apifile.Name, strings.Join(options, " "), apifile.CRC, path, imports, types)
}