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: ip2trace.py
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -132,13 +132,14 @@ def print_usage():
132
132
"\n"
133
133
" -d, --database\n"
134
134
" Specify the path of IP2Location BIN database file. You can download the latest free IP2Location BIN database from https://lite.ip2location.com.\n"
135
+
" If the database filename is specified but without the path, ip2tracepy will search the database file in /usr/share/ip2location/ for Linux or C:\Users\(your_Windows_username)\Documents\ for Windows.\n"
135
136
"\n"
136
137
" -t, --ttl\n"
137
138
" Set the max number of hops. (Default: 30)\n"
138
139
"\n"
139
140
" -o, --output\n"
140
141
" Set the desired IP2Location BIN database columns to output with.\n"
if (iinip2location_outputs_reference) and (ip2location_result_fields[ip2location_outputs_reference.index(i)] inrecord_dict) and (record_dict[ip2location_result_fields[ip2location_outputs_reference.index(i)]] isnotNone):
Copy file name to clipboardExpand all lines: readme.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,14 @@ Usage: ip2tracepy -p [IP ADDRESS/HOSTNAME] -d [IP2LOCATION BIN DATA PATH] [OPTIO
22
22
23
23
-d, --database
24
24
Specify the path of IP2Location BIN database file. You can download the latest free IP2Location BIN database from https://lite.ip2location.com.
25
+
If the database filename is specified but without the path, ip2tracepy will search the database file in /usr/share/ip2location/ for Linux or C:\Users\(your_Windows_username)\Documents\ for Windows.
25
26
26
27
-t, --ttl
27
28
Set the max number of hops. (Default: 30)
28
29
29
30
-o, --output
30
31
Set the desired IP2Location BIN database columns to output with.
0 commit comments