mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 15:30:06 +08:00
docs: fix backend doc generator to not output duplicate config names
This was always the intention, it was just implemented wrong. This shortens the s3 docs by 1369 bringing them down to half the size just about. Fixes #7325
This commit is contained in:
parent
7586fecbca
commit
9959712a06
|
@ -309,6 +309,7 @@ func showBackend(name string) {
|
|||
if _, doneAlready := done[opt.Name]; doneAlready {
|
||||
continue
|
||||
}
|
||||
done[opt.Name] = struct{}{}
|
||||
if opt.Advanced {
|
||||
advancedOptions = append(advancedOptions, opt)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user