Skip to content

Commit 52ceb1f

Browse files
Fixes discover mode. Closes #1400 (#1402)
1 parent 00aed81 commit 52ceb1f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

DevProxy/Commands/DevProxyConfigOptions.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,18 @@ public DevProxyConfigOptions()
113113
}
114114
}
115115
};
116+
var discoverOption = new Option<bool>(DevProxyCommand.DiscoverOptionName, "--discover")
117+
{
118+
Arity = ArgumentArity.Zero
119+
};
116120

117121
var options = new List<Option>
118122
{
119123
ipAddressOption,
120124
configFileOption,
121125
urlsToWatchOption,
122-
logLevelOption
126+
logLevelOption,
127+
discoverOption
123128
};
124129
this.AddOptions(options.OrderByName());
125130
}

0 commit comments

Comments
 (0)