diff --git a/osmoutils/osmocli/query_cmd_wrap.go b/osmoutils/osmocli/query_cmd_wrap.go index 612be9df489..774733ffa67 100644 --- a/osmoutils/osmocli/query_cmd_wrap.go +++ b/osmoutils/osmocli/query_cmd_wrap.go @@ -191,6 +191,7 @@ func attachFieldsToUse[reqP proto.Message](desc *QueryDescriptor) { for i := 0; i < v.NumField(); i++ { fn := strings.ToLower(v.Field(i).Name) + // if a field is parsed from flag, skip it if desc.CustomFlagOverrides[fn] != "" || osmoutils.Contains(nonAttachableFields, fn) { continue }