nim-libp2p/tests/pubsub/config.nims

10 lines
188 B
Plaintext
Raw Normal View History

2023-03-01 15:59:44 +00:00
import strutils
proc hasSkipParentCfg: bool =
for param in 0..<paramCount():
if "skipParent" in paramStr(param):
return true
when hasSkipParentCfg():
import ../config.nims