diff --git a/content/en/docs/Toolreference/gaussdb.md b/content/en/docs/Toolreference/gaussdb.md index 3e025f57f6a2ac8a6264226b7974c6a7b9a0efec..e42c2bd927d1f5a356be190080f553273f109d56 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 8b45a1f5db9d6e81ef446b713da6bc8226f25b5f..370b41d3ec91d7d3abe68df261b490da49d652f7 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 264f5fe748d53afe89c124d6869fbb83a2b09470..304c6214ae7d7d32216d2ccf897003c128d41cef 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 e96514940fcbab21bc58311fbf29baab62a9b174..b26cb40eeadc278bac265f8462df18ce5db4dcc1 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 ```