From 90905a19eb68403daae1a70fdcbcddfb0bb930ae Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Tue, 2 Jul 2024 14:06:23 +0000 Subject: [PATCH] update --- README.md | 6 +++++- bk/version.go | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0f2b6b2..4864499 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,11 @@ backtrace 无环境依赖,理论上适配所有系统和主流架构,更多架构请查看 https://github.com/oneclickvirt/backtrace/releases/tag/output ``` - +Usage: backtrace [options] + -e Enable logging + -h Show help information + -s Disabe show ip info (default true) + -v Show version ``` ## 卸载 diff --git a/bk/version.go b/bk/version.go index 2e35ec4..acf1705 100644 --- a/bk/version.go +++ b/bk/version.go @@ -1,4 +1,5 @@ package backtrace -const BackTraceVersion = "v0.0.4" // git tag v0.0.4 -var EnableLoger bool +const BackTraceVersion = "v0.0.4" + +var EnableLoger = false