local: make nounc advanced option except on windows

This commit is contained in:
albertony 2021-03-14 22:14:44 +01:00 committed by Nick Craig-Wood
parent 294f090361
commit aab076029f

View File

@ -44,6 +44,7 @@ func init() {
Options: []fs.Option{{ Options: []fs.Option{{
Name: "nounc", Name: "nounc",
Help: "Disable UNC (long path names) conversion on Windows", Help: "Disable UNC (long path names) conversion on Windows",
Advanced: runtime.GOOS != "windows",
Examples: []fs.OptionExample{{ Examples: []fs.OptionExample{{
Value: "true", Value: "true",
Help: "Disables long file names", Help: "Disables long file names",