fix(select): fix null option help infos

Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
This commit is contained in:
Xuehai Pan 2022-07-22 18:29:18 +08:00
parent 19953aadd5
commit 2a519edc54
2 changed files with 6 additions and 2 deletions

View file

@ -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`.
```
------

View file

@ -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()