From 13bff462642e0dd559172f0d1d757160cb6bd23d Mon Sep 17 00:00:00 2001 From: st3ffn Date: Sun, 6 Jun 2021 20:02:25 +0200 Subject: [PATCH] reserve default of 0 plots --- README.md | 2 +- internal/cli/cli.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1643918..45044a6 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ DESCRIPTION: Tool will perform the following calculation (AVAILABLE_DISK_SPACE/SINGLE_PLOT_SIZE)-RESERVED_PLOTS. GLOBAL OPTIONS: - --reserve RESERVE, -r RESERVE RESERVE. the amount of plots to reserve. (default: 1) + --reserve RESERVE, -r RESERVE RESERVE. the amount of plots to reserve. (default: 0) --verbose, -v enable verbose mode. (default: false) --help, -h show help (default: false) --version, -V print version (default: false) diff --git a/internal/cli/cli.go b/internal/cli/cli.go index f41b396..3c33f7a 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -13,7 +13,7 @@ import ( var ( Args = os.Args // Reserved defines the default amount of plots to reserve - Reserved uint64 = 1 + Reserved uint64 = 0 ) // Context describes the environment of the tool execution