Troubleshooting complete.
This commit is contained in:
parent
13c9a847e2
commit
7fbb06a69f
@ -31,6 +31,8 @@ import (
|
|||||||
var (
|
var (
|
||||||
libraryItems []string
|
libraryItems []string
|
||||||
libraryPaths []string
|
libraryPaths []string
|
||||||
|
listPaths []string
|
||||||
|
listItems []string
|
||||||
pageFolders []string
|
pageFolders []string
|
||||||
page []string
|
page []string
|
||||||
site []string
|
site []string
|
||||||
@ -129,6 +131,18 @@ func addSharePointCommands(cmd *cobra.Command) *cobra.Command {
|
|||||||
utils.LibraryItemFN, nil,
|
utils.LibraryItemFN, nil,
|
||||||
"Select backup details by library item name or ID.")
|
"Select backup details by library item name or ID.")
|
||||||
|
|
||||||
|
fs.StringSliceVar(
|
||||||
|
&listPaths,
|
||||||
|
utils.ListFN, nil,
|
||||||
|
"Select backup details by site name.",
|
||||||
|
)
|
||||||
|
|
||||||
|
fs.StringSliceVar(
|
||||||
|
&listItems,
|
||||||
|
utils.ListItemFN, nil,
|
||||||
|
"Select backup details by list name or ID.",
|
||||||
|
)
|
||||||
|
|
||||||
fs.StringArrayVar(&site,
|
fs.StringArrayVar(&site,
|
||||||
utils.SiteFN, nil,
|
utils.SiteFN, nil,
|
||||||
"Select backup details by site ID; accepts '"+utils.Wildcard+"' to select all sites.")
|
"Select backup details by site ID; accepts '"+utils.Wildcard+"' to select all sites.")
|
||||||
@ -516,6 +530,7 @@ func runDetailsSharePointCmd(
|
|||||||
}
|
}
|
||||||
|
|
||||||
sel := utils.IncludeSharePointRestoreDataSelectors(opts)
|
sel := utils.IncludeSharePointRestoreDataSelectors(opts)
|
||||||
|
// Filters not available
|
||||||
utils.FilterSharePointRestoreInfoSelectors(sel, opts)
|
utils.FilterSharePointRestoreInfoSelectors(sel, opts)
|
||||||
|
|
||||||
return sel.Reduce(ctx, d), nil
|
return sel.Reduce(ctx, d), nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user