From 3a950e7ac7cc9850b178164f0f3856715d1fd3e1 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 21 Jul 2025 23:58:48 +0300 Subject: [ak] -vi flag outputs logs in mIRC format --- bin/ak | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bin') diff --git a/bin/ak b/bin/ak index 5724ce2..17cf351 100755 --- a/bin/ak +++ b/bin/ak @@ -18,6 +18,7 @@ ### along with this program. If not, see . ### export AK_DEBUG="yes" +export AK_DEBUG_IRC="no" ## ## Arching Kaos CLI tool is the main executable script to use for exploring, ## creating and distributing local blockchain(s) called zchain(s). @@ -49,6 +50,13 @@ source $AK_LIBDIR/_ak_lib_load _ak_lib_load _ak_log _ak_lib_load _ak_script +if [ "$1" == "-vi" ] +then + export AK_DEBUG_IRC="yes" + export AK_DEBUG="no" + shift +fi + if [ $# -eq 0 ] then _ak_log_warning "No command given" -- cgit v1.2.3