mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-21 06:45:24 -06:00
fix(select): fix null option help infos
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
This commit is contained in:
parent
19953aadd5
commit
2a519edc54
2 changed files with 6 additions and 2 deletions
|
|
@ -506,7 +506,8 @@ formatting:
|
|||
--sep SEP, --separator SEP, -s SEP
|
||||
Separator for the output. (default: ',')
|
||||
--newline Use newline character as separator for the output, equivalent to `--sep=$'\n'`.
|
||||
--null, -0 Use null character ('\x00') as separator for the output, equivalent to `--sep=$'\0'`.
|
||||
--null, -0 Use null character ('\x00') as separator for the output. This option corresponds
|
||||
to the `-0` option of `xargs`.
|
||||
```
|
||||
|
||||
------
|
||||
|
|
|
|||
|
|
@ -431,7 +431,10 @@ def parse_arguments(): # pylint: disable=too-many-branches,too-many-statements
|
|||
'-0',
|
||||
dest='null',
|
||||
action='store_true',
|
||||
help=r"Use null character ('\x00') as separator for the output, equivalent to `--sep=$'\0'`.",
|
||||
help=(
|
||||
"Use null character ('\\x00') as separator for the output. This option corresponds\n"
|
||||
'to the `-0` option of `xargs`.'
|
||||
),
|
||||
)
|
||||
|
||||
args = parser.parse_args()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue