Tools: using nicer characters for showing a tree.
Especially in small trees, ASCII characters are confusing. Use nicer UTF-8 characters, which are more readable to the audience of this script. We don't expect the audience of this script to have limited environments where these characters will not be shown, but if that happens, we could improve the script to select the caracters based on the locale. Suggested-by: Liam Crilly <liam@nginx.com> Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
This commit is contained in:
parent
96f33c0395
commit
e249dd4727
1 changed files with 19 additions and 19 deletions
|
@ -42,8 +42,8 @@ SYNOPSIS
|
||||||
$program_name [-h] COMMAND [ARGS]
|
$program_name [-h] COMMAND [ARGS]
|
||||||
|
|
||||||
Subcommands
|
Subcommands
|
||||||
+-- repo-config [-hn] [PKG-MANAGER OS-NAME OS-VERSION]
|
├── repo-config [-hn] [PKG-MANAGER OS-NAME OS-VERSION]
|
||||||
+-- welcome [-hn]
|
└── welcome [-hn]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
This script simplifies installing and configuring an NGINX Unit server
|
This script simplifies installing and configuring an NGINX Unit server
|
||||||
|
@ -78,19 +78,19 @@ SYNOPSIS
|
||||||
$program_name [-h] COMMAND [ARGS]
|
$program_name [-h] COMMAND [ARGS]
|
||||||
|
|
||||||
Subcommands
|
Subcommands
|
||||||
+-- cmd [-h]
|
├── cmd [-h]
|
||||||
+-- ctl [-h] [-s SOCK] SUBCOMMAND [ARGS]
|
├── ctl [-h] [-s SOCK] SUBCOMMAND [ARGS]
|
||||||
| +-- http [-h] [-c CURLOPT] METHOD PATH
|
│ ├── http [-h] [-c CURLOPT] METHOD PATH
|
||||||
| +-- insert [-h] PATH INDEX
|
│ └── insert [-h] PATH INDEX
|
||||||
+-- freeport [-h]
|
├── freeport [-h]
|
||||||
+-- json-ins [-hn] JSON INDEX
|
├── json-ins [-hn] JSON INDEX
|
||||||
+-- os-probe [-h]
|
├── os-probe [-h]
|
||||||
+-- ps [-h] [-t TYPE]
|
├── ps [-h] [-t TYPE]
|
||||||
+-- repo-config [-hn] [PKG-MANAGER OS-NAME OS-VERSION]
|
├── repo-config [-hn] [PKG-MANAGER OS-NAME OS-VERSION]
|
||||||
+-- sock [-h] SUBCOMMAND [ARGS]
|
├── sock [-h] SUBCOMMAND [ARGS]
|
||||||
| +-- filter [-chs]
|
│ ├── filter [-chs]
|
||||||
| +-- find [-h]
|
│ └── find [-h]
|
||||||
+-- welcome [-hn]
|
└── welcome [-hn]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
This script simplifies installing and configuring
|
This script simplifies installing and configuring
|
||||||
|
@ -210,8 +210,8 @@ SYNOPSIS
|
||||||
$program_name ctl [-h] [-s SOCK] SUBCOMMAND [ARGS]
|
$program_name ctl [-h] [-s SOCK] SUBCOMMAND [ARGS]
|
||||||
|
|
||||||
Subcommands
|
Subcommands
|
||||||
+-- http [-h] [-c CURLOPT] METHOD PATH
|
├── http [-h] [-c CURLOPT] METHOD PATH
|
||||||
+-- insert [-h] PATH INDEX
|
└── insert [-h] PATH INDEX
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
Control a running unitd(8) instance through its control API socket.
|
Control a running unitd(8) instance through its control API socket.
|
||||||
|
@ -1231,8 +1231,8 @@ SYNOPSIS
|
||||||
$program_name sock [-h] SUBCOMMAND [ARGS]
|
$program_name sock [-h] SUBCOMMAND [ARGS]
|
||||||
|
|
||||||
Subcommands
|
Subcommands
|
||||||
+-- filter [-ch]
|
├── filter [-ch]
|
||||||
+-- find [-h]
|
└── find [-h]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
Print the control API socket address of running unitd(8)
|
Print the control API socket address of running unitd(8)
|
||||||
|
|
Loading…
Reference in a new issue