aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-07-21 23:58:48 +0300
committerkaotisk <kaotisk@arching-kaos.org>2025-07-21 23:58:48 +0300
commit3a950e7ac7cc9850b178164f0f3856715d1fd3e1 (patch)
tree624caa3b0c3a026c516499d0676f929518b621c8 /bin
parent1e56a83b7b06f443a83516ff4c8354a721ca97ba (diff)
downloadarching-kaos-tools-3a950e7ac7cc9850b178164f0f3856715d1fd3e1.tar.gz
arching-kaos-tools-3a950e7ac7cc9850b178164f0f3856715d1fd3e1.tar.bz2
arching-kaos-tools-3a950e7ac7cc9850b178164f0f3856715d1fd3e1.zip
[ak] -vi flag outputs logs in mIRC format
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak8
1 files changed, 8 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
###
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"