diff --git a/docs/usage/cli.en.md b/docs/usage/cli.en.md index c4f2d14f..d84d620a 100644 --- a/docs/usage/cli.en.md +++ b/docs/usage/cli.en.md @@ -37,7 +37,7 @@ It supports the following commands: Global options: ``` ---config_file FILE Path to Vitastor configuration file +--config_path FILE Path to Vitastor configuration file --etcd_address URL Etcd connection address --iodepth N Send N operations in parallel to each OSD when possible (default 32) --parallel_osds M Work with M osds in parallel when possible (default 4) diff --git a/docs/usage/cli.ru.md b/docs/usage/cli.ru.md index 1eba78b6..2cc11880 100644 --- a/docs/usage/cli.ru.md +++ b/docs/usage/cli.ru.md @@ -36,7 +36,7 @@ vitastor-cli - интерфейс командной строки для адм Глобальные опции: ``` ---config_file FILE Путь к файлу конфигурации Vitastor +--config_path FILE Путь к файлу конфигурации Vitastor --etcd_address URL Адрес соединения с etcd --iodepth N Отправлять параллельно N операций на каждый OSD (по умолчанию 32) --parallel_osds M Работать параллельно с M OSD (по умолчанию 4) diff --git a/docs/usage/nbd.en.md b/docs/usage/nbd.en.md index c85d8516..ad46f6c9 100644 --- a/docs/usage/nbd.en.md +++ b/docs/usage/nbd.en.md @@ -36,7 +36,7 @@ It will output a block device name like /dev/nbd0 which you can then use as a no You can also use `--pool --inode --size ` instead of `--image ` if you want. -vitastor-nbd supports all usual Vitastor configuration options like `--config_file ` plus NBD-specific: +vitastor-nbd supports all usual Vitastor configuration options like `--config_path ` plus NBD-specific: * `--nbd_timeout 0` \ Timeout for I/O operations in seconds after exceeding which the kernel stops the device. @@ -54,7 +54,7 @@ vitastor-nbd supports all usual Vitastor configuration options like `--config_fi Stay in foreground, do not daemonize. Note that `nbd_timeout`, `nbd_max_devices` and `nbd_max_part` options may also be specified -in `/etc/vitastor/vitastor.conf` or in other configuration file specified with `--config_file`. +in `/etc/vitastor/vitastor.conf` or in other configuration file specified with `--config_path`. ## unmap diff --git a/docs/usage/nbd.ru.md b/docs/usage/nbd.ru.md index d753be61..67883a2c 100644 --- a/docs/usage/nbd.ru.md +++ b/docs/usage/nbd.ru.md @@ -41,7 +41,7 @@ vitastor-nbd map [/dev/nbdN] --image testimg Для обращения по номеру инода, аналогично другим командам, можно использовать опции `--pool --inode --size ` вместо `--image testimg`. -vitastor-nbd поддерживает все обычные опции Vitastor, например, `--config_file `, +vitastor-nbd поддерживает все обычные опции Vitastor, например, `--config_path `, плюс специфичные для NBD: * `--nbd_timeout 0` \ @@ -62,7 +62,7 @@ vitastor-nbd поддерживает все обычные опции Vitastor, Обратите внимание, что опции `nbd_timeout`, `nbd_max_devices` и `nbd_max_part` можно также задавать в `/etc/vitastor/vitastor.conf` или в другом файле конфигурации, -заданном опцией `--config_file`. +заданном опцией `--config_path`. ## unmap diff --git a/src/client/nbd_proxy.cpp b/src/client/nbd_proxy.cpp index 8d8f09d4..4a3bbf12 100644 --- a/src/client/nbd_proxy.cpp +++ b/src/client/nbd_proxy.cpp @@ -313,7 +313,7 @@ const char *help_text = #endif "Use vitastor-nbd --help for command details or vitastor-nbd --help --all for all details.\n" "\n" - "All usual Vitastor config options like --config_file may also be specified in CLI.\n" + "All usual Vitastor config options like --config_path may also be specified in CLI.\n" ; class nbd_proxy diff --git a/src/cmd/cli.cpp b/src/cmd/cli.cpp index 3f834a2a..170a519a 100644 --- a/src/cmd/cli.cpp +++ b/src/cmd/cli.cpp @@ -224,7 +224,7 @@ static const char* help_text = "Use vitastor-cli --help for command details or vitastor-cli --help --all for all details.\n" "\n" "GLOBAL OPTIONS:\n" - " --config_file FILE Path to Vitastor configuration file\n" + " --config_path FILE Path to Vitastor configuration file\n" " --etcd_address URL Etcd connection address\n" " --iodepth N Send N operations in parallel to each OSD when possible (default 32)\n" " --parallel_osds M Work with M osds in parallel when possible (default 4)\n"