Fixed parameters parsing after -d

-d doesn't have param but it had pattern as opt with parameter

Change-Id: Ibf87bcf196cd5e2a30ae3ec13bfdc8858fc0239a
Merge "Fixed parameters parsing after -d"