From fc88c9be5c3d6fba06b947f734aa7564133d6ba4 Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Thu, 30 Nov 2023 17:14:50 +0800 Subject: [PATCH] update readme --- README.md | 8 +++++++- README_zh_CN.md | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d673a6c..aa30529 100644 --- a/README.md +++ b/README.md @@ -250,6 +250,11 @@ nexttrace --psize 1024 example.com # ╭╯ # ╰AS37963 Aliyun「ALIDNS.COM『ALIDNS.COM』」 nexttrace --route-path www.time.com.my + +# Disable color output +nexttrace --nocolor 1.1.1.1 +# or use ENV +export NO_COLOR=1 ``` `NextTrace` supports users to select their own IP API (currently supports: `LeoMoeAPI`, `IP.SB`, `IPInfo`, `IPInsight`, `IPAPI.com`, `Ip2region`, `IPInfoLocal`, `CHUNZHEN`) @@ -317,7 +322,7 @@ Usage: nexttrace [-h|--help] [-4|--ipv4] [-6|--ipv6] [-T|--tcp] [-U|--udp] [--timeout ] [--psize ] [_positionalArg_nexttrace_32 ""] [--dot-server (dnssb|aliyun|dnspod|google|cloudflare)] [-g|--language - (en|cn)] [--file ""] + (en|cn)] [--file ""] [-C|--nocolor] Arguments: @@ -393,6 +398,7 @@ Arguments: -g --language Choose the language for displaying [en, cn]. Default: cn --file Read IP Address or domain name from file + -C --nocolor Disable Colorful Output ``` ## Project screenshot diff --git a/README_zh_CN.md b/README_zh_CN.md index f49c198..d46ec5b 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -266,6 +266,10 @@ nexttrace --psize 1024 example.com # ╭╯ # ╰AS37963 阿里云「ALIDNS.COM『ALIDNS.COM』」 nexttrace --route-path www.time.com.my +# 禁止色彩输出 +nexttrace --nocolor 1.1.1.1 +# 或者使用环境变量 +export NO_COLOR=1 ``` `NextTrace`支持用户自主选择 IP 数据库(目前支持:`LeoMoeAPI`, `IP.SB`, `IPInfo`, `IPInsight`, `IPAPI.com`, `Ip2region`, `IPInfoLocal`, `CHUNZHEN`) @@ -317,7 +321,7 @@ Usage: nexttrace [-h|--help] [-4|--ipv4] [-6|--ipv6] [-T|--tcp] [-U|--udp] [--timeout ] [--psize ] [_positionalArg_nexttrace_32 ""] [--dot-server (dnssb|aliyun|dnspod|google|cloudflare)] [-g|--language - (en|cn)] [--file ""] + (en|cn)] [--file ""] [-C|--nocolor] Arguments: @@ -393,6 +397,7 @@ Arguments: -g --language Choose the language for displaying [en, cn]. Default: cn --file Read IP Address or domain name from file + -C --nocolor Disable Colorful Output ``` ## 项目截图