fixed main func

main
simonkellet 1 year ago
parent 28743704cc
commit 165ba20005
  1. 8
      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)
}
}

Loading…
Cancel
Save