mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
build: reformat comments to pass go1.19 vet
See: https://go.dev/doc/go1.19#go-doc
This commit is contained in:
@@ -130,16 +130,16 @@ const (
|
||||
|
||||
// Option is describes an option for the config wizard
|
||||
//
|
||||
// This also describes command line options and environment variables
|
||||
// This also describes command line options and environment variables.
|
||||
//
|
||||
// To create a multiple-choice option, specify the possible values
|
||||
// in the Examples property. Whether the option's value is required
|
||||
// to be one of these depends on other properties:
|
||||
// - Default is to allow any value, either from specified examples,
|
||||
// or any other value. To restrict exclusively to the specified
|
||||
// examples, also set Exclusive=true.
|
||||
// - If empty string should not be allowed then set Required=true,
|
||||
// and do not set Default.
|
||||
// - Default is to allow any value, either from specified examples,
|
||||
// or any other value. To restrict exclusively to the specified
|
||||
// examples, also set Exclusive=true.
|
||||
// - If empty string should not be allowed then set Required=true,
|
||||
// and do not set Default.
|
||||
type Option struct {
|
||||
Name string // name of the option in snake_case
|
||||
Help string // help, start with a single sentence on a single line that will be extracted for command line help
|
||||
@@ -292,7 +292,7 @@ func Find(name string) (*RegInfo, error) {
|
||||
|
||||
// MustFind looks for an Info object for the type name passed in
|
||||
//
|
||||
// Services are looked up in the config file
|
||||
// Services are looked up in the config file.
|
||||
//
|
||||
// Exits with a fatal error if not found
|
||||
func MustFind(name string) *RegInfo {
|
||||
|
||||
Reference in New Issue
Block a user