diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 8da15e7813..299c5019b3 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -160,7 +160,7 @@ var ( Name: "datadir.era", Usage: "Root directory for era1 history (default = inside ancient/chain)", } - MinFreeDiskSpaceFlag = DirectoryFlag{ + MinFreeDiskSpaceFlag = &cli.IntFlag{ Name: "datadir.minfreedisk", Usage: "Minimum free disk space in MB, once reached triggers auto shut down (default = --cache.gc converted to MB, 0 = disabled)", }