You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
err=options.AddFlagValues("authdirsusers", "--auth-dir-user", "", nil, "file system path that require Basic Auth for specific users, <sep><fs-path>[<sep><user>...]")
76
76
serverError.CheckFatal(err)
77
77
78
+
err=options.AddFlagValues("indexurls", "--index", "", []string{"/"}, "url path that allow directory index")
79
+
serverError.CheckFatal(err)
80
+
81
+
err=options.AddFlagValues("indexurlsusers", "--index-user", "", nil, "url path that allow index files for specific users, <sep><url-path>[<sep><user>...]")
82
+
serverError.CheckFatal(err)
83
+
84
+
err=options.AddFlagValues("indexdirs", "--index-dir", "", nil, "file system path that allow index files")
85
+
serverError.CheckFatal(err)
86
+
87
+
err=options.AddFlagValues("indexdirsusers", "--index-dir-user", "", nil, "file system path that allow index files for specific users, <sep><fs-path>[<sep><user>...]")
88
+
serverError.CheckFatal(err)
89
+
78
90
err=options.AddFlags("globalupload", []string{"-U", "--global-upload"}, "", "allow upload files for all url paths")
79
91
serverError.CheckFatal(err)
80
92
@@ -348,11 +360,14 @@ func CmdResultsToParams(results []*goNixArgParser.ParseResult) (params Params, e
0 commit comments