mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 12:36:38 +08:00
14 lines
348 B
Go
14 lines
348 B
Go
// 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) {
|
|
flags.AddFlagsFromOptions(flagSet, "", log.OptionsInfo)
|
|
}
|