diff --git a/src/ApiPort/CommandLine/DocIdSearchOptions.cs b/src/ApiPort/CommandLine/DocIdSearchOptions.cs
index df598b5da..090bfdf15 100644
--- a/src/ApiPort/CommandLine/DocIdSearchOptions.cs
+++ b/src/ApiPort/CommandLine/DocIdSearchOptions.cs
@@ -1,13 +1,14 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+using ApiPort.Resources;
using System.Collections.Generic;
namespace ApiPort.CommandLine
{
internal class DocIdSearchOptions : CommandLineOptions
{
- public override string HelpMessage => "Docid";
+ public override string HelpMessage => LocalizedStrings.CmdDocId;
public override string Name => "DocIdSearch";
diff --git a/src/ApiPort/Resources/LocalizedStrings.Designer.cs b/src/ApiPort/Resources/LocalizedStrings.Designer.cs
index c3347753a..0ab8606b0 100644
--- a/src/ApiPort/Resources/LocalizedStrings.Designer.cs
+++ b/src/ApiPort/Resources/LocalizedStrings.Designer.cs
@@ -121,6 +121,15 @@ public static string CmdAnalyzeHelp {
}
}
+ ///
+ /// Looks up a localized string similar to Provides an interactive console search for APIs. Useful to find the docid of a specific API.
+ ///
+ public static string CmdDocId {
+ get {
+ return ResourceManager.GetString("CmdDocId", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Specifies a json file defining assemblies that should not be analyzed for specific targets while analyzing breaking changes. This can be useful for excluding assemblies that are known to not regress on certain .NET Framework versions due to breaking changes. Note that, currently, this parameter only affects breaking change analysis; not portability analysis..
///
diff --git a/src/ApiPort/Resources/LocalizedStrings.resx b/src/ApiPort/Resources/LocalizedStrings.resx
index 5852d483b..a55712481 100644
--- a/src/ApiPort/Resources/LocalizedStrings.resx
+++ b/src/ApiPort/Resources/LocalizedStrings.resx
@@ -282,4 +282,7 @@ gives a summary of issues and possible steps forward.
Analyze request file output does not support this operation
+
+ Provides an interactive console search for APIs. Useful to find the docid of a specific API
+
\ No newline at end of file