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
Copy file name to clipboardExpand all lines: cmd/updates.go
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,8 @@ var (
46
46
justSearchbool
47
47
thisMUstring
48
48
cleanupbool
49
+
groupstring
50
+
statesstring
49
51
)
50
52
51
53
funcinit() {
@@ -55,6 +57,8 @@ func init() {
55
57
updateCmd.Flags().BoolVarP(&justSearch, "search", "s", false, "flag that would trigger only looking for updates on the Build Service")
56
58
updateCmd.Flags().StringVarP(&thisMU, "maintupdate", "m", "", "flag that consumes the name of an MU, like 'SUSE:Maintenance:Incident:ReleaseRequest'")
57
59
updateCmd.Flags().BoolVarP(&cleanup, "cleanup", "k", false, "flag that triggers cleaning up the storage (from old MU channels)")
60
+
updateCmd.Flags().StringVarP(&group, "group", "g", "", "flag that applies a filter by group")
61
+
updateCmd.Flags().StringVarP(&states, "states", "t", "new,review", "flag that applies a filter by state, multiple states must be separated by a comma (default 'new,review')")
0 commit comments