X-Git-Url: http://git.ipfire.org/?p=location%2Flibloc.git;a=blobdiff_plain;f=man%2Flocation-query.txt;fp=man%2Flocation-query.txt;h=84f0fdcad542d0f5bd450d0078c8b96ff9b78033;hp=216d1dbeada93f45d96984b48e0fbc6ffe7e04bf;hb=4439e3173767e72435c1ef8aa59a24b9b789d7f3;hpb=3dc8adfb3c0ba93daa03ce3c035c607640f22fab diff --git a/man/location-query.txt b/man/location-query.txt index 216d1db..84f0fdc 100644 --- a/man/location-query.txt +++ b/man/location-query.txt @@ -43,13 +43,22 @@ or countries. + The search will be performed case-insensitively. -'list-networks-by-as ASN':: +'list-networks-by-as [--output-format FORMAT] ASN':: Lists all networks which belong to this Autonomous System. + + + The '--output-format' parameter can change the output so that it can be + directly loaded into other software. The following options are available: + + + * 'list' (default): Just lists all networks, one per line + * 'xt_geoip': Returns a list of networks to be loaded into the xt_geoip + kernel module -'list-networks-by-cc COUNTRY_CODE':: +'list-networks-by-cc [--output-format FORMAT] COUNTRY_CODE':: Lists all networks that belong to a country. + The country has to be encoded in ISO3166 Alpha-2 notation. + + + See above for usage of the '--output-format' parameter. '--help':: Shows a short help text on using this program.