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/instances.go
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ var flagLocale string
31
31
varflagTimezonestring
32
32
varflagEmailstring
33
33
varflagPublicNamestring
34
+
varflagPhonestring
34
35
varflagSettingsstring
35
36
varflagDiskQuotastring
36
37
varflagApps []string
@@ -192,6 +193,7 @@ be used as the error message.
192
193
Sponsorships: flagSponsorships,
193
194
Email: flagEmail,
194
195
PublicName: flagPublicName,
196
+
Phone: flagPhone,
195
197
Settings: flagSettings,
196
198
SwiftLayout: flagSwiftLayout,
197
199
CouchCluster: flagCouchCluster,
@@ -281,6 +283,7 @@ settings for a specified domain.
281
283
Sponsorships: flagSponsorships,
282
284
Email: flagEmail,
283
285
PublicName: flagPublicName,
286
+
Phone: flagPhone,
284
287
Settings: flagSettings,
285
288
BlockingReason: flagBlockingReason,
286
289
DiskQuota: diskQuota,
@@ -1091,6 +1094,7 @@ func init() {
1091
1094
addInstanceCmd.Flags().StringSliceVar(&flagSponsorships, "sponsorships", nil, "Sponsorships of the instance (comma separated list)")
1092
1095
addInstanceCmd.Flags().StringVar(&flagEmail, "email", "", "The email of the owner")
1093
1096
addInstanceCmd.Flags().StringVar(&flagPublicName, "public-name", "", "The public name of the owner")
1097
+
addInstanceCmd.Flags().StringVar(&flagPhone, "phone", "", "The phone number of the owner")
1094
1098
addInstanceCmd.Flags().StringVar(&flagSettings, "settings", "", "A list of settings (eg context:foo,offer:premium)")
1095
1099
addInstanceCmd.Flags().IntVar(&flagSwiftLayout, "swift-layout", -1, "Specify the layout to use for Swift (from 0 for layout V1 to 2 for layout V3, -1 means the default)")
1096
1100
addInstanceCmd.Flags().IntVar(&flagCouchCluster, "couch-cluster", -1, "Specify the CouchDB cluster where the instance will be created (-1 means the default)")
@@ -1112,6 +1116,7 @@ func init() {
1112
1116
modifyInstanceCmd.Flags().StringSliceVar(&flagSponsorships, "sponsorships", nil, "Sponsorships of the instance (comma separated list)")
1113
1117
modifyInstanceCmd.Flags().StringVar(&flagEmail, "email", "", "New email")
1114
1118
modifyInstanceCmd.Flags().StringVar(&flagPublicName, "public-name", "", "New public name")
1119
+
modifyInstanceCmd.Flags().StringVar(&flagPhone, "phone", "", "New phone number")
1115
1120
modifyInstanceCmd.Flags().StringVar(&flagSettings, "settings", "", "New list of settings (eg offer:premium)")
1116
1121
modifyInstanceCmd.Flags().StringVar(&flagDiskQuota, "disk-quota", "", "Specify a new disk quota")
1117
1122
modifyInstanceCmd.Flags().StringVar(&flagBlockingReason, "blocking-reason", "", "Code that explains why the instance is blocked (PAYMENT_FAILED, LOGIN_FAILED, etc.)")
0 commit comments