mirror of
https://github.com/netbirdio/docs.git
synced 2026-09-23 15:29:06 +02:00
Add short flags for CLI command options (#754)
This commit is contained in:
@@ -186,16 +186,16 @@ netbird down
|
|||||||
Retrieves the peer status from the daemon service.
|
Retrieves the peer status from the daemon service.
|
||||||
#### Flags
|
#### Flags
|
||||||
```shell
|
```shell
|
||||||
--check string Run a health check and exit with code 0 on success, 1 on failure (live|ready|startup)
|
-C, --check string Run a health check and exit with code 0 on success, 1 on failure (live|ready|startup)
|
||||||
-d, --detail Display detailed status information in human-readable format
|
-d, --detail Display detailed status information in human-readable format
|
||||||
--filter-by-connection-type string Filter the detailed output by connection type (P2P|Relayed), e.g., --filter-by-connection-type P2P
|
-t, --filter-by-connection-type string Filter the detailed output by connection type (P2P|Relayed), e.g., --filter-by-connection-type P2P
|
||||||
--filter-by-ips strings Filter the detailed output by a list of one or more IPs (v4 or v6), e.g., --filter-by-ips 100.64.0.100,fd00::1
|
-i, --filter-by-ips strings Filter the detailed output by a list of one or more IPs (v4 or v6), e.g., --filter-by-ips 100.64.0.100,fd00::1
|
||||||
--filter-by-names strings Filter the detailed output by a list of one or more peer FQDN or hostnames, e.g., --filter-by-names peer-a,peer-b.netbird.cloud
|
-N, --filter-by-names strings Filter the detailed output by a list of one or more peer FQDN or hostnames, e.g., --filter-by-names peer-a,peer-b.netbird.cloud
|
||||||
--filter-by-status string Filter the detailed output by connection status (idle|connecting|connected), e.g., --filter-by-status connected
|
-S, --filter-by-status string Filter the detailed output by connection status (idle|connecting|connected), e.g., --filter-by-status connected
|
||||||
--ipv4 Display only NetBird IPv4 of this peer, e.g., --ipv4 will output 100.64.0.33
|
-4, --ipv4 Display only NetBird IPv4 of this peer, e.g., --ipv4 will output 100.64.0.33
|
||||||
--ipv6 Display only NetBird IPv6 of this peer
|
-6, --ipv6 Display only NetBird IPv6 of this peer
|
||||||
--json Display detailed status information in JSON format
|
-j, --json Display detailed status information in JSON format
|
||||||
--yaml Display detailed status information in YAML format
|
-y, --yaml Display detailed status information in YAML format
|
||||||
```
|
```
|
||||||
#### Usage
|
#### Usage
|
||||||
The minimal form of running the command is:
|
The minimal form of running the command is:
|
||||||
|
|||||||
Reference in New Issue
Block a user