Skip to content

Commit cd2522e

Browse files
[cli-ref] Fix table spacing and better syntax (#738)
* [cli-ref] Fix table spacing and better syntax Signed-off-by: black-dragon74 <niryadav@redhat.com> * Revert formatting on volume commands Signed-off-by: black.dragon74 <nickk.2974@gmail.com>
1 parent 37813be commit cd2522e

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

docs/CLI-Reference/cli-main.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,29 @@
22

33
### Overview
44

5-
Use the Gluster CLI to setup and manage your Gluster cluster from a terminal.
6-
You can run the Gluster CLI on any Gluster server either by invoking the commands
7-
or by running the Gluster CLI in interactive mode.
5+
Use the Gluster CLI to setup and manage your Gluster cluster from a terminal.
6+
You can run the Gluster CLI on any Gluster server either by invoking the commands
7+
or by running the Gluster CLI in interactive mode.
88
You can also use the gluster command remotely using SSH.
99

1010
The gluster CLI syntax is `gluster <command>`.
1111

12-
1312
To run a command directly:
1413

1514
```console
16-
# gluster <command>
15+
gluster <command>
1716
```
1817

1918
For example, to view the status of all peers:
2019

2120
```console
22-
# gluster peer status
21+
gluster peer status
2322
```
2423

2524
To run a command in interactive mode, start a gluster shell by typing:
2625

2726
```console
28-
# gluster
27+
gluster
2928
```
3029

3130
This will open a gluster command prompt. You now run the command at the prompt.
@@ -44,13 +43,12 @@ gluster> peer status
4443

4544
The peer commands are used to manage the Trusted Server Pool (TSP).
4645

47-
48-
| Command | Syntax | Description |
49-
| --------------- |:-----------------------|:------------------------|
50-
| peer probe | peer probe _server_ | Add _server_ to the TSP |
51-
| peer detach | peer detach _server_ | Remove _server_ from the TSP |
52-
| peer status | peer status | Display the status of all nodes in the TSP |
53-
| pool list | pool list | List all nodes in the TSP |
46+
| Command | Syntax | Description |
47+
| ----------- | :------------------- | :----------------------------------------- |
48+
| peer probe | peer probe _server_ | Add _server_ to the TSP |
49+
| peer detach | peer detach _server_ | Remove _server_ from the TSP |
50+
| peer status | peer status | Display the status of all nodes in the TSP |
51+
| pool list | pool list | List all nodes in the TSP |
5452

5553
#### Volume Commands
5654

0 commit comments

Comments
 (0)