Updates to /cli/backup/sharepoint.go
PR Suggestions applied.
This commit is contained in:
parent
04f22b6070
commit
806b4d3a86
@ -146,7 +146,7 @@ func addSharePointCommands(cmd *cobra.Command) *cobra.Command {
|
||||
fs.StringSliceVar(
|
||||
&page,
|
||||
utils.PageItemFN, nil,
|
||||
"Select backup data by site page ID; accepts '"+utils.Wildcard+"' to select all pages within site.",
|
||||
"Select backup data by page name, e.g. home.aspx; accepts '"+utils.Wildcard+"' to select all pages within the site.",
|
||||
)
|
||||
|
||||
// info flags
|
||||
@ -278,7 +278,7 @@ func validateSharePointBackupCreateFlags(sites, weburls, data []string) error {
|
||||
for _, d := range data {
|
||||
if d != dataLibraries && d != dataPages {
|
||||
return errors.New(
|
||||
d + "is an unrecognized data type; either " + dataLibraries + "or " + dataPages,
|
||||
d + " is an unrecognized data type; either " + dataLibraries + "or " + dataPages,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user