diff --git a/src/tooling/docs-builder/Commands/Assembler/AssemblerIndexCommand.cs b/src/tooling/docs-builder/Commands/Assembler/AssemblerIndexCommand.cs
index cef1335e3..9086a0d79 100644
--- a/src/tooling/docs-builder/Commands/Assembler/AssemblerIndexCommand.cs
+++ b/src/tooling/docs-builder/Commands/Assembler/AssemblerIndexCommand.cs
@@ -25,7 +25,7 @@ ICoreService githubActionsService
///
/// Index documentation to Elasticsearch, calls `docs-builder assembler build --exporters elasticsearch`. Exposes more options
///
- /// Elasticsearch endpoint, alternatively set env DOCUMENTATION_ELASTIC_URL
+ /// -es, Elasticsearch endpoint, alternatively set env DOCUMENTATION_ELASTIC_URL
/// The --environment used to clone ends up being part of the index name
/// Elasticsearch API key, alternatively set env DOCUMENTATION_ELASTIC_APIKEY
/// Elasticsearch username (basic auth), alternatively set env DOCUMENTATION_ELASTIC_USERNAME
@@ -49,7 +49,7 @@ ICoreService githubActionsService
///
[Command("")]
public async Task Index(
- [Argument] string? endpoint = null,
+ string? endpoint = null,
string? environment = null,
string? apiKey = null,
string? username = null,
diff --git a/src/tooling/docs-builder/Commands/IndexCommand.cs b/src/tooling/docs-builder/Commands/IndexCommand.cs
index 739351317..e0ec4dd80 100644
--- a/src/tooling/docs-builder/Commands/IndexCommand.cs
+++ b/src/tooling/docs-builder/Commands/IndexCommand.cs
@@ -23,7 +23,7 @@ ICoreService githubActionsService
///
/// Index a single documentation set to Elasticsearch, calls `docs-builder --exporters elasticsearch`. Exposes more options
///
- /// Elasticsearch endpoint, alternatively set env DOCUMENTATION_ELASTIC_URL
+ /// -es, Elasticsearch endpoint, alternatively set env DOCUMENTATION_ELASTIC_URL
/// path to the documentation folder, defaults to pwd.
/// Elasticsearch API key, alternatively set env DOCUMENTATION_ELASTIC_APIKEY
/// Elasticsearch username (basic auth), alternatively set env DOCUMENTATION_ELASTIC_USERNAME
@@ -47,7 +47,7 @@ ICoreService githubActionsService
///
[Command("")]
public async Task Index(
- [Argument] string? endpoint = null,
+ string? endpoint = null,
string? path = null,
string? apiKey = null,
string? username = null,