2019-12-10 13:54:00 +00:00
|
|
|
// Package logflags implements command line flags to set up the log
|
|
|
|
package logflags
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/rclone/rclone/fs/config/flags"
|
|
|
|
"github.com/rclone/rclone/fs/log"
|
|
|
|
"github.com/spf13/pflag"
|
|
|
|
)
|
|
|
|
|
|
|
|
// AddFlags adds the log flags to the flagSet
|
|
|
|
func AddFlags(flagSet *pflag.FlagSet) {
|
2024-07-04 08:41:32 +00:00
|
|
|
flags.AddFlagsFromOptions(flagSet, "", log.OptionsInfo)
|
2019-12-10 13:54:00 +00:00
|
|
|
}
|