aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Perfilov <pnv902@gmail.com>2022-04-25 20:23:48 +0300
committerNikolay Perfilov <pnv902@gmail.com>2022-04-25 20:23:48 +0300
commit2aee4cdb6025798e3aae85cc1eabe01140ef0d3b (patch)
tree7af32167022c3949d8bbf59382a4d03727083333
parent3256928817e75493464a4bcc3339e53ac9d4edf9 (diff)
downloadydb-2aee4cdb6025798e3aae85cc1eabe01140ef0d3b.tar.gz
Fix index creation options in documentation
ref:d4609174090661227822faf48ff734bc2a12834c
-rw-r--r--ydb/docs/en/core/reference/ydb-cli/commands/_includes/secondary_index.md4
-rw-r--r--ydb/docs/ru/core/reference/ydb-cli/commands/_includes/secondary_index.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/ydb/docs/en/core/reference/ydb-cli/commands/_includes/secondary_index.md b/ydb/docs/en/core/reference/ydb-cli/commands/_includes/secondary_index.md
index ac12c35d5c..97a3715440 100644
--- a/ydb/docs/en/core/reference/ydb-cli/commands/_includes/secondary_index.md
+++ b/ydb/docs/en/core/reference/ydb-cli/commands/_includes/secondary_index.md
@@ -15,13 +15,13 @@ For information about the purpose and use of secondary indexes for app developme
A secondary index is created with `table index add`:
```bash
-{{ ydb-cli }} [connection options] table index add <sync_async> <table> \
+{{ ydb-cli }} [connection options] table index add <sync-async> <table> \
--index-name STR --columns STR [--cover STR]
```
Parameters:
-`<sync_async>`: Secondary index type. Set `global_sync` to build an index with [synchronous updates](../../../../concepts/secondary_indexes.md#sync) or `global_async` for an index with [asynchronous updates](../../../../concepts/secondary_indexes.md#async).
+`<sync-async>`: Secondary index type. Set `global-sync` to build an index with [synchronous updates](../../../../concepts/secondary_indexes.md#sync) or `global-async` for an index with [asynchronous updates](../../../../concepts/secondary_indexes.md#async).
`<table>`: Path and name of the table that the index is being built for.
diff --git a/ydb/docs/ru/core/reference/ydb-cli/commands/_includes/secondary_index.md b/ydb/docs/ru/core/reference/ydb-cli/commands/_includes/secondary_index.md
index 7b488c55f6..c54c87a7e6 100644
--- a/ydb/docs/ru/core/reference/ydb-cli/commands/_includes/secondary_index.md
+++ b/ydb/docs/ru/core/reference/ydb-cli/commands/_includes/secondary_index.md
@@ -15,13 +15,13 @@
Создание вторичного индекса выполняется командой `table index add`:
```bash
-{{ ydb-cli }} [connection options] table index add <sync_async> <table> \
+{{ ydb-cli }} [connection options] table index add <sync-async> <table> \
--index-name STR --columns STR [--cover STR]
```
Параметры:
-`<sync_async>` : Тип вторичного индекса. Укажите `global_sync` для построения индекса [с синхронным обновлением](../../../../concepts/secondary_indexes.md#sync) или `global_async` для индекса [с асинхронным обновлением](../../../../concepts/secondary_indexes.md#async).
+`<sync-async>` : Тип вторичного индекса. Укажите `global-sync` для построения индекса [с синхронным обновлением](../../../../concepts/secondary_indexes.md#sync) или `global-async` для индекса [с асинхронным обновлением](../../../../concepts/secondary_indexes.md#async).
`<table>`: Путь и имя таблицы, для которой выполняется построение индекса