Skip to content

Commit

Permalink
change to prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseduffield committed Jan 3, 2020
1 parent 6ae4bdd commit 4f20b82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func split(path string) error {
threshold := *thresholdPtr

if total == 0 {
totalStr := prompt("How many horcruxes do you want to split this file into? (1-99): ")
totalStr := prompt("How many horcruxes do you want to split this file into? (2-99): ")
var err error
total, err = strconv.Atoi(totalStr)
if err != nil {
Expand All @@ -88,7 +88,7 @@ func split(path string) error {
}

if threshold == 0 {
thresholdStr := prompt("How many horcruxes should be required to reconstitute the original file? If you require all horcruxes, the resulting files will take up less space, but it will feel less magical (1-99): ")
thresholdStr := prompt("How many horcruxes should be required to reconstitute the original file? If you require all horcruxes, the resulting files will take up less space, but it will feel less magical (2-99): ")
var err error
threshold, err = strconv.Atoi(thresholdStr)
if err != nil {
Expand Down

0 comments on commit 4f20b82

Please sign in to comment.