From 20c2b8f7a415139c49643b5bd5b7b2740ff3fd11 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Fri, 25 Oct 2024 12:23:49 +1000 Subject: TODO++ --- _.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_.lua b/_.lua index 3a92350..5c8963b 100755 --- a/_.lua +++ b/_.lua @@ -16,6 +16,7 @@ local _ = {} _.version = '0.0 crap' +-- TODO - add the rest of the logging and debug level stuff from apt-panopticon. -- This sets the global values, here and in the caller. D = function(s) print('DEBUG ' .. s); io.flush() end I = function(s) print('INFO ' .. s); io.flush() end @@ -25,6 +26,7 @@ E = function(s) print('ERROR ' .. s); io.flush() end C = function(s) print('CRITICAL ' .. s); io.flush() end +-- TODO - move common stuff like -q, -v, --help, --version to an internal options table we scan as well. _.parse = function(args, options, confFile) local o = nil -- cgit v1.1