diff --git a/Configuration.md b/Configuration.md index be7b647..eb67a16 100644 --- a/Configuration.md +++ b/Configuration.md @@ -8,11 +8,11 @@ Starting from version 0.3.1, OSTP uses a modular configuration system based on * ```bash # Generate a default configuration file -./ostp --init server -./ostp --init client +./ostp init server +./ostp init client # Validate a configuration without running -./ostp --check --config config.json +./ostp check --config config.json ``` --- diff --git a/Configuration_ru.md b/Configuration_ru.md index 1f862ad..15fa203 100644 --- a/Configuration_ru.md +++ b/Configuration_ru.md @@ -8,11 +8,11 @@ ```bash # Генерация базового конфига -./ostp --init server -./ostp --init client +./ostp init server +./ostp init client # Проверка конфигурации на ошибки -./ostp --check --config config.json +./ostp check --config config.json ``` --- diff --git a/Home_ru.md b/Home_ru.md index 78231f2..85eee90 100644 --- a/Home_ru.md +++ b/Home_ru.md @@ -71,23 +71,21 @@ irm https://raw.githubusercontent.com/ospab/ostp/master/scripts/install.ps1 | ie ## Быстрый старт ```bash -# Генерация конфига сервера -./ostp --init server +# Базовая генерация конфигов +./ostp init server +./ostp init client -# Генерация конфига клиента -./ostp --init client - -# Проверка конфига -./ostp --check +# Проверить синтаксис конфига +./ostp check # Запуск -./ostp +./ostp run # Подключение по ссылке -./ostp ostp://ACCESS_KEY@server.com:50000 +./ostp connect ostp://ACCESS_KEY@server.com:50000 -# Генерация ключей -./ostp --generate-key -c 5 +# Сгенерировать 5 ключей доступа +./ostp gk -n 5 ``` --- diff --git a/Share-Links.md b/Share-Links.md index 4115d01..d4b8114 100644 --- a/Share-Links.md +++ b/Share-Links.md @@ -53,8 +53,8 @@ ostp://abc123456789@1.1.1.1:53/?type=dns&domain=t.yourdomain.com&pubkey=f1...4a# The OSTP GUI and CLI support importing share links: - **GUI**: Paste into the import field on the Settings screen. -- **CLI**: `ostp --import "ostp://key@host:port/..."` -- **Instant Launch**: `ostp --url "ostp://key@host:port/..."` (Creates a temporary config and runs it). +- **CLI**: `ostp import "ostp://key@host:port/..."` +- **Instant Launch**: `ostp connect "ostp://key@host:port/..."` (Creates a temporary config and runs it). --- diff --git a/Share-Links_ru.md b/Share-Links_ru.md index 338c4e6..5bcd5df 100644 --- a/Share-Links_ru.md +++ b/Share-Links_ru.md @@ -51,8 +51,8 @@ ostp://abc123456789@1.1.1.1:53/?type=dns&domain=t.yourdomain.com&pubkey=f1...4a# ## Импорт в клиент - **GUI**: Вставьте ссылку в поле импорта на экране настроек. -- **CLI**: `ostp --import "ostp://ключ@хост:порт/..."` -- **Быстрый запуск**: `ostp --url "ostp://ключ@хост:порт/..."` (создает временный конфиг и сразу запускает клиент). +- **CLI**: `ostp import "ostp://ключ@хост:порт/..."` +- **Быстрый запуск**: `ostp connect "ostp://ключ@хост:порт/..."` (создает временный конфиг и сразу запускает клиент). ---