diff --git a/fs/config/config.go b/fs/config/config.go index 6bf1a632b..88f8ece29 100644 --- a/fs/config/config.go +++ b/fs/config/config.go @@ -813,6 +813,10 @@ func ChooseOption(o *fs.Option, name string) string { in = ReadLine() } if in == "" { + if o.Required && fmt.Sprint(o.Default) == "" { + fmt.Printf("This value is required and it has no default.\n") + continue + } break } newIn, err := configstruct.StringToInterface(o.Default, in)