-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathen-US.json
236 lines (236 loc) · 5.23 KB
/
en-US.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
"options": [
{
"name": "-d",
"alias": [
"--delimiter"
],
"next": 0,
"tip": [
"U: -d|--delimiter <X>\n",
"use X instead of whitespace for field delimiter"
]
},
{
"name": "--field",
"next": 0,
"tip": [
"U: --field <FIELDS>\n",
"replace the numbers in these input fields; see FIELDS below [default: 1]"
]
},
{
"name": "--format",
"next": 0,
"tip": [
"U: --format <FORMAT>\n",
"use printf style floating-point FORMAT; see FORMAT below for details"
]
},
{
"name": "--from",
"tip": [
"U: --from <UNIT>\n",
"auto-scale input numbers to UNITs; see UNIT below [default: none]"
],
"next": [
{
"name": "none",
"tip": [
"no auto-scaling is done; suffixes will trigger an error"
]
},
{
"name": "auto",
"tip": [
"accept optional single/two letter suffix:\n",
"1K = 1000, 1Ki = 1024, 1M = 1000000, 1Mi = 1048576"
]
},
{
"name": "si",
"tip": [
"accept optional single letter suffix:\n",
"1K = 1000, 1M = 1000000, ..."
]
},
{
"name": "iec",
"tip": [
"accept optional single letter suffix:\n",
"1K = 1024, 1M = 1048576, ..."
]
},
{
"name": "iec-i",
"tip": [
"accept optional two-letter suffix:\n",
"1Ki = 1024, 1Mi = 1048576, ..."
]
}
]
},
{
"name": "--from-unit",
"next": 0,
"tip": [
"U: --from-unit <N>\n",
"specify the input unit size [default: 1]"
]
},
{
"name": "--to",
"tip": [
"U: --to <UNIT>\n",
"auto-scale output numbers to UNITs; see UNIT below [default: none]"
],
"next": [
{
"name": "none",
"tip": [
"no auto-scaling is done; suffixes will trigger an error"
]
},
{
"name": "auto",
"tip": [
"accept optional single/two letter suffix:\n",
"1K = 1000, 1Ki = 1024, 1M = 1000000, 1Mi = 1048576"
]
},
{
"name": "si",
"tip": [
"accept optional single letter suffix:\n",
"1K = 1000, 1M = 1000000, ..."
]
},
{
"name": "iec",
"tip": [
"accept optional single letter suffix:\n",
"1K = 1024, 1M = 1048576, ..."
]
},
{
"name": "iec-i",
"tip": [
"accept optional two-letter suffix:\n",
"1Ki = 1024, 1Mi = 1048576, ..."
]
}
]
},
{
"name": "--to-unit",
"next": 0,
"tip": [
"U: --to-unit <N> \n",
"the output unit size [default: 1]"
]
},
{
"name": "--padding",
"next": 0,
"tip": [
"U: --padding <N>\n",
"pad the output to N characters;\n",
"positive N will right-align; negative N will left-align;\n",
"padding is ignored if the output is wider than N;\n",
"the default is to automatically pad if a whitespace is found"
]
},
{
"name": "--header",
"next": 0,
"tip": [
"U: --header [<N>]\n",
"print (without converting) the first N header lines; N defaults to 1 if not specified"
]
},
{
"name": "--round",
"tip": [
"U: --round <METHOD>\n",
"use METHOD for rounding when scaling [default: from-zero]\n",
"[possible values: up, down, from-zero, towards-zero, nearest]"
],
"next": [
{
"name": "up"
},
{
"name": "down"
},
{
"name": "from-zero"
},
{
"name": "towards-zero"
},
{
"name": "nearest"
}
]
},
{
"name": "--suffix",
"next": 0,
"tip": [
"U: --suffix <SUFFIX>\n",
"print SUFFIX after each formatted number, and accept inputs optionally ending with SUFFIX"
]
},
{
"name": "--invalid",
"tip": [
"U: --invalid <INVALID>\n",
"set the failure mode for invalid input [default: abort]\n",
"[possible values: abort, fail, warn, ignore]"
],
"next": [
{
"name": "abort"
},
{
"name": "fail"
},
{
"name": "warn"
},
{
"name": "ignore"
}
]
},
{
"name": "--version",
"alias": [
"-V"
],
"tip": [
"Show the version."
]
}
],
"common_options": [
{
"name": "--help",
"alias": [
"-h"
],
"tip": [
"Show help."
]
}
],
"info": {
"completion_info": {
"url": "https://github.com/uutils/coreutils",
"description": [
"Convert numbers from/to human-readable strings.\n",
"Completion was written based on [uutils/coreutils](https://github.com/uutils/coreutils)."
]
}
}
}