feat: --no-stderr cli arg, closes #52

New cli argument which will remove stderr output from logs, defaults to false
This commit is contained in:
Jack Wills
2024-12-03 15:01:56 +00:00
parent c6200e8f77
commit c739637b91
7 changed files with 19 additions and 6 deletions
+1
View File
@@ -442,6 +442,7 @@ impl AppData {
}
/// Find the longest port when it's transformed into a string, defaults are header lens (ip, private, public)
/// TODO refactor this, and write comments as to whete the initial sizes come from
pub fn get_longest_port(&self) -> (usize, usize, usize) {
let mut longest_ip = 5;
let mut longest_private = 10;