diff options
Diffstat (limited to 'cmd/restore_repo.go')
-rw-r--r-- | cmd/restore_repo.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/restore_repo.go b/cmd/restore_repo.go index f0b01e7984..c3081279df 100644 --- a/cmd/restore_repo.go +++ b/cmd/restore_repo.go @@ -37,10 +37,10 @@ var CmdRestoreRepository = cli.Command{ Value: "", Usage: "Restore destination repository name", }, - cli.StringFlag{ + cli.StringSliceFlag{ Name: "units", - Value: "", - Usage: `Which items will be restored, one or more units should be separated as comma. + Value: nil, + Usage: `Which items will be restored, one or more units should be repeated with this flag. wiki, issues, labels, releases, release_assets, milestones, pull_requests, comments are allowed. Empty means all units.`, }, cli.BoolFlag{ |