Skip to content

Commit

Permalink
Saner default values
Browse files Browse the repository at this point in the history
  • Loading branch information
peteraba committed Jun 16, 2020
1 parent db83c04 commit 3e495f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
type action string

const (
version = "0.5.1"
KB = 1024
version = "0.5.2"
KB = 20
keepAction action = "keep"
listAction action = "list"
)
Expand All @@ -39,7 +39,7 @@ func getFlags() (action, int, bool, []string, string, string, bool, bool, int) {
flag.BoolVar(&showHelp, "help", false, "display help")
flag.BoolVar(&showVersion, "version", false, "display the version number")
flag.BoolVar(&verbose, "verbose", false, "provide verbose output")
flag.IntVar(&fsLimit, "fs-limit", 100, "limit the maximum number open files")
flag.IntVar(&fsLimit, "fs-limit", 10, "limit the maximum number open files")
flag.StringVar(&useAction, "action", "list", "action to use for duplicates found (list, keep, delete)")
flag.StringVar(&ignore, "ignore", "", "regexp to ignore files completely")
flag.StringVar(&prefer, "prefer", "", "regexp to keep files if a duplicate matches it")
Expand Down

0 comments on commit 3e495f0

Please sign in to comment.