use stringslice for users in onedrive (#2042)
## Type of change - [x] 🐛 Bugfix ## Issue(s) * #2041 ## Test Plan - [x] 💪 Manual
This commit is contained in:
parent
b769c288b7
commit
50209cd879
@ -14,8 +14,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed issue where repository connect progress bar was clobbering backup/restore operation output.
|
||||
- Fixed issue where a `backup create exchange` produced one backup record per data type.
|
||||
- Issue where repository connect progress bar was clobbering backup/restore operation output.
|
||||
- Issue where a `backup create exchange` produced one backup record per data type.
|
||||
- Specifying multiple users in a onedrive backup (ex: `--user a,b,c`) now properly delimits the input along the commas.
|
||||
|
||||
### Known Issues
|
||||
|
||||
|
||||
@ -83,7 +83,7 @@ func addOneDriveCommands(cmd *cobra.Command) *cobra.Command {
|
||||
c.Use = c.Use + " " + oneDriveServiceCommandCreateUseSuffix
|
||||
c.Example = oneDriveServiceCommandCreateExamples
|
||||
|
||||
fs.StringArrayVar(&user,
|
||||
fs.StringSliceVar(&user,
|
||||
utils.UserFN, nil,
|
||||
"Backup OneDrive data by user ID; accepts '"+utils.Wildcard+"' to select all users. (required)")
|
||||
options.AddOperationFlags(c)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user