File tree 8 files changed +4
-29
lines changed
8 files changed +4
-29
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ CRICTL OPTIONS:
46
46
Flags : []cli.Flag {
47
47
& cli.StringFlag {
48
48
Name : "get" ,
49
- Usage : "show the option value" ,
49
+ Usage : "Show the option value" ,
50
50
},
51
51
& cli.StringSliceFlag {
52
52
Name : "set" ,
53
- Usage : "set option (can specify multiple or separate values with commas: opt1=val1,opt2=val2)" ,
53
+ Usage : "Set option (can specify multiple or separate values with commas: opt1=val1,opt2=val2)" ,
54
54
},
55
55
& cli.BoolFlag {
56
56
Name : "list" ,
57
- Usage : "show all option value" ,
57
+ Usage : "Show all option value" ,
58
58
},
59
59
},
60
60
Action : func (c * cli.Context ) error {
Original file line number Diff line number Diff line change @@ -102,17 +102,14 @@ var createPullFlags = []cli.Flag{
102
102
},
103
103
& cli.StringFlag {
104
104
Name : "creds" ,
105
- Value : "" ,
106
105
Usage : "Use `USERNAME[:PASSWORD]` for accessing the registry" ,
107
106
},
108
107
& cli.StringFlag {
109
108
Name : "auth" ,
110
- Value : "" ,
111
109
Usage : "Use `AUTH_STRING` for accessing the registry. AUTH_STRING is a base64 encoded 'USERNAME[:PASSWORD]'" ,
112
110
},
113
111
& cli.StringFlag {
114
112
Name : "username" ,
115
- Value : "" ,
116
113
Usage : "Use `USERNAME` for accessing the registry. The password will be requested on the command line" ,
117
114
},
118
115
& cli.DurationFlag {
@@ -139,17 +136,14 @@ var runPullFlags = []cli.Flag{
139
136
},
140
137
& cli.StringFlag {
141
138
Name : "creds" ,
142
- Value : "" ,
143
139
Usage : "Use `USERNAME[:PASSWORD]` for accessing the registry" ,
144
140
},
145
141
& cli.StringFlag {
146
142
Name : "auth" ,
147
- Value : "" ,
148
143
Usage : "Use `AUTH_STRING` for accessing the registry. AUTH_STRING is a base64 encoded 'USERNAME[:PASSWORD]'" ,
149
144
},
150
145
& cli.StringFlag {
151
146
Name : "username" ,
152
- Value : "" ,
153
147
Usage : "Use `USERNAME` for accessing the registry. password will be requested" ,
154
148
},
155
149
& cli.StringFlag {
@@ -544,29 +538,24 @@ var listContainersCommand = &cli.Command{
544
538
},
545
539
& cli.StringFlag {
546
540
Name : "id" ,
547
- Value : "" ,
548
541
Usage : "Filter by container id" ,
549
542
},
550
543
& cli.StringFlag {
551
544
Name : "name" ,
552
- Value : "" ,
553
- Usage : "filter by container name regular expression pattern" ,
545
+ Usage : "Filter by container name regular expression pattern" ,
554
546
},
555
547
& cli.StringFlag {
556
548
Name : "pod" ,
557
549
Aliases : []string {"p" },
558
- Value : "" ,
559
550
Usage : "Filter by pod id" ,
560
551
},
561
552
& cli.StringFlag {
562
553
Name : "image" ,
563
- Value : "" ,
564
554
Usage : "Filter by container image" ,
565
555
},
566
556
& cli.StringFlag {
567
557
Name : "state" ,
568
558
Aliases : []string {"s" },
569
- Value : "" ,
570
559
Usage : "Filter by container state" ,
571
560
},
572
561
& cli.StringSliceFlag {
Original file line number Diff line number Diff line change @@ -61,13 +61,11 @@ var statsCommand = &cli.Command{
61
61
},
62
62
& cli.StringFlag {
63
63
Name : "id" ,
64
- Value : "" ,
65
64
Usage : "Filter by container id" ,
66
65
},
67
66
& cli.StringFlag {
68
67
Name : "pod" ,
69
68
Aliases : []string {"p" },
70
- Value : "" ,
71
69
Usage : "Filter by pod id" ,
72
70
},
73
71
& cli.StringSliceFlag {
Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ var runtimeExecCommand = &cli.Command{
58
58
},
59
59
& cli.Int64Flag {
60
60
Name : "timeout" ,
61
- Value : 0 ,
62
61
Usage : "Timeout in seconds" ,
63
62
},
64
63
& cli.BoolFlag {
Original file line number Diff line number Diff line change @@ -57,25 +57,21 @@ var pullImageCommand = &cli.Command{
57
57
Flags : []cli.Flag {
58
58
& cli.StringFlag {
59
59
Name : "creds" ,
60
- Value : "" ,
61
60
Usage : "Use `USERNAME[:PASSWORD]` for accessing the registry" ,
62
61
EnvVars : []string {"CRICTL_CREDS" },
63
62
},
64
63
& cli.StringFlag {
65
64
Name : "auth" ,
66
- Value : "" ,
67
65
Usage : "Use `AUTH_STRING` for accessing the registry. AUTH_STRING is a base64 encoded 'USERNAME[:PASSWORD]'" ,
68
66
EnvVars : []string {"CRICTL_AUTH" },
69
67
},
70
68
& cli.StringFlag {
71
69
Name : "username" ,
72
70
Aliases : []string {"u" },
73
- Value : "" ,
74
71
Usage : "Use `USERNAME` for accessing the registry. The password will be requested on the command line" ,
75
72
},
76
73
& cli.StringFlag {
77
74
Name : "pod-config" ,
78
- Value : "" ,
79
75
Usage : "Use `pod-config.[json|yaml]` to override the pull c" ,
80
76
TakesFile : true ,
81
77
},
Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ var logsCommand = &cli.Command{
68
68
},
69
69
& cli.StringFlag {
70
70
Name : "since" ,
71
- Value : "" ,
72
71
Usage : "Show logs since timestamp (e.g. 2013-01-02T13:23:37) or relative (e.g. 42m for 42 minutes)" ,
73
72
},
74
73
& cli.BoolFlag {
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ var podStatsCommand = &cli.Command{
55
55
Flags : []cli.Flag {
56
56
& cli.StringFlag {
57
57
Name : "id" ,
58
- Value : "" ,
59
58
Usage : "Filter by pod id" ,
60
59
},
61
60
& cli.StringSliceFlag {
Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ var runPodCommand = &cli.Command{
67
67
& cli.DurationFlag {
68
68
Name : "cancel-timeout" ,
69
69
Aliases : []string {"T" },
70
- Value : 0 ,
71
70
Usage : "Seconds to wait for a run pod sandbox request to complete before cancelling the request" ,
72
71
},
73
72
},
@@ -250,23 +249,19 @@ var listPodCommand = &cli.Command{
250
249
Flags : []cli.Flag {
251
250
& cli.StringFlag {
252
251
Name : "id" ,
253
- Value : "" ,
254
252
Usage : "filter by pod id" ,
255
253
},
256
254
& cli.StringFlag {
257
255
Name : "name" ,
258
- Value : "" ,
259
256
Usage : "filter by pod name regular expression pattern" ,
260
257
},
261
258
& cli.StringFlag {
262
259
Name : "namespace" ,
263
- Value : "" ,
264
260
Usage : "filter by pod namespace regular expression pattern" ,
265
261
},
266
262
& cli.StringFlag {
267
263
Name : "state" ,
268
264
Aliases : []string {"s" },
269
- Value : "" ,
270
265
Usage : "filter by pod state" ,
271
266
},
272
267
& cli.StringSliceFlag {
You can’t perform that action at this time.
0 commit comments