The default tar utility in OpenBSD is rather simplistic. In order to user more advanced features install GNU tar (gtar) from package collection. Another alternative may be to use the pax utility.

For gtar manual type. gtar manual pages doesn't exist.

tar --help

An example of exclusion of files folders type

gtar -czf archive.tgz --exclude 'folder' *