From 3732da380919b85ffa61a42a8dab22be47218be9 Mon Sep 17 00:00:00 2001 From: li-jun056 <1255728208@qq.com> Date: Tue, 21 Jul 2020 09:31:34 +0800 Subject: [PATCH] update documents --- content/en/docs/Toolreference/gaussdb.md | 2 +- content/en/docs/Toolreference/pg_controldata.md | 5 ++--- content/zh/docs/Toolreference/gaussdb.md | 2 +- content/zh/docs/Toolreference/pg_controldata.md | 5 ++--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/content/en/docs/Toolreference/gaussdb.md b/content/en/docs/Toolreference/gaussdb.md index 3e025f57f..e42c2bd92 100644 --- a/content/en/docs/Toolreference/gaussdb.md +++ b/content/en/docs/Toolreference/gaussdb.md @@ -464,7 +464,7 @@ Use **-D** to provide the correct path of the database directory for the serve 2. Run the following command to start gaussdb with a specified port, for example, 1234: ``` - gaussdb --singlenode -p -D data_dir + gaussdb --single_node -p -D data_dir ``` To connect to this server using gsql, specify this port with the -p option: diff --git a/content/en/docs/Toolreference/pg_controldata.md b/content/en/docs/Toolreference/pg_controldata.md index 8b45a1f5d..370b41d3e 100644 --- a/content/en/docs/Toolreference/pg_controldata.md +++ b/content/en/docs/Toolreference/pg_controldata.md @@ -13,7 +13,7 @@ Ensure that the data directory is correct and the **pg\_control** file exists - Check the control file information. ``` - pg_controldata [DATADIR] + pg_controldata DATADIR ``` - Display the version number. @@ -25,8 +25,7 @@ Ensure that the data directory is correct and the **pg\_control** file exists - Display help information. ``` - pg_controldata - -? | --help + pg_controldata -? | --help ``` diff --git a/content/zh/docs/Toolreference/gaussdb.md b/content/zh/docs/Toolreference/gaussdb.md index 264f5fe74..304c6214a 100644 --- a/content/zh/docs/Toolreference/gaussdb.md +++ b/content/zh/docs/Toolreference/gaussdb.md @@ -463,7 +463,7 @@ gaussdb --single -D /usr/local/pgsql/data other-options my_database 2. 在指定端口启动gaussdb,如1234: ``` - gaussdb --singlenode -p -D data_dir + gaussdb --single_node -p -D data_dir ``` 使用gsql与服务器连接,用-p指定端口号: diff --git a/content/zh/docs/Toolreference/pg_controldata.md b/content/zh/docs/Toolreference/pg_controldata.md index e96514940..b26cb40ee 100644 --- a/content/zh/docs/Toolreference/pg_controldata.md +++ b/content/zh/docs/Toolreference/pg_controldata.md @@ -13,7 +13,7 @@ pg\_controldata工具用来显示数据库目录下control文件的信息。 - 查看control文件信息 ``` - pg_controldata [DATADIR] + pg_controldata DATADIR ``` - 显示版本号信息 @@ -25,8 +25,7 @@ pg\_controldata工具用来显示数据库目录下control文件的信息。 - 显示帮助信息 ``` - pg_controldata - -? | --help + pg_controldata -? | --help ``` -- Gitee