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: README.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,23 +117,21 @@ Use `opencage forward` or `opencage reverse`
117
117
```
118
118
opencage forward --help
119
119
120
+
options:
120
121
-h, --help show this help message and exit
121
122
--api-key API_KEY Your OpenCage API key
122
-
--input INPUT Input file name
123
-
--output OUTPUT Output file name
123
+
--input FILENAME Input file name
124
+
--output FILENAME Output file name
124
125
--headers If the first row should be treated as a header row
125
-
--input-columns INPUT_COLUMNS
126
-
Comma-separated list of integers (default '1')
127
-
--add-columns ADD_COLUMNS
128
-
Comma-separated list of output columns
129
-
--workers WORKERS Number of parallel geocoding requests (default 1)
130
-
--timeout TIMEOUT Timeout in seconds (default 10)
131
-
--retries RETRIES Number of retries (default 5)
132
-
--api-domain API_DOMAIN
133
-
API domain (default api.opencagedata.com)
134
-
--extra-params EXTRA_PARAMS
126
+
--input-columns Comma-separated list of integers (default '1')
127
+
--add-columns Comma-separated list of output columns (default 'lat,lng,_type,_category,country_code,country,state,county,_normalized_city,postcode,road,house_number,confidence,formatted')
128
+
--workers Number of parallel geocoding requests (default 1)
129
+
--timeout Timeout in seconds (default 10)
130
+
--retries Number of retries (default 5)
131
+
--api-domain API domain (default api.opencagedata.com)
132
+
--optional-api-params
135
133
Extra parameters for each request (e.g. language=fr,no_dedupe=1)
136
-
--limit LIMIT Stop after this number of lines in the input
134
+
--limit Stop after this number of lines in the input
parser.add_argument("--input-columns", type=comma_separated_type(int), default=default_input_cols, help=f"Comma-separated list of integers (default '{default_input_cols}')")
63
-
parser.add_argument("--add-columns", type=comma_separated_type(str), default="lat,lng,_type,_category,country_code,country,state,county,_normalized_city,postcode,road,house_number,confidence,formatted", help="Comma-separated list of output columns")
parser.add_argument("--extra-params", type=comma_separated_dict_type, default="", help="Extra parameters for each request (e.g. language=fr,no_dedupe=1)")
69
-
parser.add_argument("--limit", type=int, default=0, help="Stop after this number of lines in the input")
62
+
parser.add_argument("--input-columns", type=comma_separated_type(int), default=default_input_cols, help=f"Comma-separated list of integers (default '{default_input_cols}')", metavar='')
0 commit comments