mirror of
https://github.com/rclone/rclone.git
synced 2025-08-09 21:57:59 +02:00
rc: fix missing --rc flags
In this commit we accidentally removed the global --rc flags.
0df7466d2b
cmd/rcd: Fix command docs to include command specific prefix (#6675)
This re-instates them.
This commit is contained in:
@ -13,6 +13,7 @@ import (
|
||||
"github.com/rclone/rclone/fs/config/configflags"
|
||||
"github.com/rclone/rclone/fs/filter/filterflags"
|
||||
"github.com/rclone/rclone/fs/log/logflags"
|
||||
"github.com/rclone/rclone/fs/rc/rcflags"
|
||||
"github.com/rclone/rclone/lib/atexit"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/pflag"
|
||||
@ -173,6 +174,7 @@ func setupRootCommand(rootCmd *cobra.Command) {
|
||||
// Add global flags
|
||||
configflags.AddFlags(ci, pflag.CommandLine)
|
||||
filterflags.AddFlags(pflag.CommandLine)
|
||||
rcflags.AddFlags(pflag.CommandLine)
|
||||
logflags.AddFlags(pflag.CommandLine)
|
||||
|
||||
Root.Run = runRoot
|
||||
|
Reference in New Issue
Block a user