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: src/github.com/getnelson/nelson/main.go
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -438,7 +438,7 @@ func main() {
438
438
Destination: &selectedDatacenter,
439
439
},
440
440
cli.StringFlag{
441
-
Name: "namespaces, ns",
441
+
Name: "namespaces, ns, n",
442
442
Value: "",
443
443
Usage: "Restrict list of units to a particular namespace",
444
444
Destination: &selectedNamespace,
@@ -461,7 +461,7 @@ func main() {
461
461
returncli.NewExitError("You supplied an argument for 'namespaces' but it was not a valid comma-delimited list.", 1)
462
462
}
463
463
} else {
464
-
returncli.NewExitError("You must supply --namespacesor -ns argument to specify the namesapce(s) as a comma delimted form. i.e. dev,qa,prod or just dev", 1)
464
+
returncli.NewExitError("You must supply --namespaces, -ns or -n argument to specify the namesapce(s) as a comma delimted form. i.e. dev,qa,prod or just dev", 1)
465
465
}
466
466
iflen(selectedStatus) >0 {
467
467
if!isValidCommaDelimitedList(selectedStatus) {
@@ -633,7 +633,7 @@ func main() {
633
633
Destination: &selectedDatacenter,
634
634
},
635
635
cli.StringFlag{
636
-
Name: "namespaces, ns",
636
+
Name: "namespaces, ns, n",
637
637
Value: "",
638
638
Usage: "Restrict list of units to a particular namespace",
639
639
Destination: &selectedNamespace,
@@ -656,7 +656,7 @@ func main() {
656
656
returncli.NewExitError("You supplied an argument for 'namespaces' but it was not a valid comma-delimited list.", 1)
657
657
}
658
658
} else {
659
-
returncli.NewExitError("You must supply --namespacesor -ns argument to specify the namesapce(s) as a comma delimted form. i.e. dev,qa,prod or just dev", 1)
659
+
returncli.NewExitError("You must supply --namespaces, -ns or -n argument to specify the namesapce(s) as a comma delimted form. i.e. dev,qa,prod or just dev", 1)
660
660
}
661
661
iflen(selectedStatus) >0 {
662
662
if!isValidCommaDelimitedList(selectedStatus) {
@@ -937,7 +937,7 @@ func main() {
937
937
Destination: &selectedDatacenter,
938
938
},
939
939
cli.StringFlag{
940
-
Name: "namespaces, ns",
940
+
Name: "namespaces, ns, n",
941
941
Value: "",
942
942
Usage: "Restrict list of loadbalancers to a particular namespace",
943
943
Destination: &selectedNamespace,
@@ -954,7 +954,7 @@ func main() {
954
954
returncli.NewExitError("You supplied an argument for 'namespaces' but it was not a valid comma-delimited list.", 1)
955
955
}
956
956
} else {
957
-
returncli.NewExitError("You must supply --namespacesor -ns argument to specify the namesapce(s) as a comma delimted form. i.e. dev,qa,prod or just dev", 1)
957
+
returncli.NewExitError("You must supply --namespaces, -ns or -n argument to specify the namesapce(s) as a comma delimted form. i.e. dev,qa,prod or just dev", 1)
0 commit comments