mirror of
https://github.com/rclone/rclone.git
synced 2025-06-19 07:02:23 +08:00
cmd: Note commands which need obscured input in the docs - fixes #4252
This commit is contained in:
@ -325,6 +325,9 @@ func showBackend(name string) {
|
||||
}
|
||||
fmt.Printf("#### --%s%s\n\n", opt.FlagName(backend.Prefix), shortOpt)
|
||||
fmt.Printf("%s\n\n", opt.Help)
|
||||
if opt.IsPassword {
|
||||
fmt.Printf("**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).\n\n")
|
||||
}
|
||||
fmt.Printf("- Config: %s\n", opt.Name)
|
||||
fmt.Printf("- Env Var: %s\n", opt.EnvVarName(backend.Prefix))
|
||||
fmt.Printf("- Type: %s\n", opt.Type())
|
||||
|
Reference in New Issue
Block a user