From 165ba20005eb513eae5d2837a02572bcde9c11d4 Mon Sep 17 00:00:00 2001 From: simonkellet Date: Wed, 26 Jul 2023 21:26:16 +0100 Subject: [PATCH] fixed main func --- main.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/main.go b/main.go index 5cbbc6c..9b074a4 100644 --- a/main.go +++ b/main.go @@ -138,11 +138,6 @@ func main() { var flagEnableL = flag.Bool("l", false, "Enable ls -l output") var flagEnableA = flag.Bool("a", false, "Enable ls -a output") -func main() { - var flagNoColor = flag.Bool("no-colour", false, "Disable color output") - var flagNoList = flag.Bool("no-l", false, "Disable ls -l output") - var dir string - flag.Parse() if *flagNoColor { @@ -157,8 +152,5 @@ func main() { PrintWithoutL(content, flagEnableA) } else { PrintWithL(content, flagEnableA) - dirOutput := color.New(color.FgCyan, color.Bold) - fileOutput := color.New(color.FgWhite, color.Bold) - } }