]> git.ipfire.org Git - people/ms/libloc.git/commitdiff
man: Update documentation on renamed --output-format parameter
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Jun 2020 16:33:18 +0000 (16:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Jun 2020 16:33:18 +0000 (16:33 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
man/location.txt

index b3ae6a3e85ecb3e843dd9642dcd87338b79312fc..163cd59489751af2a31f11e85037a0bee4ae166d 100644 (file)
@@ -57,32 +57,26 @@ or countries.
        With the optional parameters '--show-name' and '--show-continent', the name and
        continent code will be printed, too.
 
-'list-networks-by-as [--family=[ipv6|ipv4]] [--output-format FORMAT] ASN'::
+'list-networks-by-as [--family=[ipv6|ipv4]] [--format=FORMAT] ASN'::
        Lists all networks which belong to this Autonomous System.
        +
        The '--family' parameter can be used to filter output to only IPv6 or
        IPv4 addresses.
        +
-       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
-       * 'ipset': For ipset
-       * 'nftables': For nftables
-       * 'xt_geoip': Returns a list of networks to be loaded into the xt_geoip
-         kernel module
+       The '--format' parameter can change the output so that it can be
+       directly loaded into other software. For details see below.
 
-'list-networks-by-cc [--family=[ipv6|ipv4]] [--output-format FORMAT] COUNTRY_CODE'::
+'list-networks-by-cc [--family=[ipv6|ipv4]] [--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 '--family' and '--output-format' parameters.
+       See above for usage of the '--family' and '--format' parameters.
 
-'list-networks-by-flags [--family=[ipv6|ipv4]] [--output-format FORMAT] [--anonymous-proxy|--satellite-provider|--anycast]'::
+'list-networks-by-flags [--family=[ipv6|ipv4]] [--format=FORMAT] [--anonymous-proxy|--satellite-provider|--anycast]'::
        Lists all networks that have a certain flag.
        +
-       See above for usage of the '--family' and '--output-format' parameters.
+       See above for usage of the '--family' and '--format' parameters.
 
 'lookup ADDRESS [ADDRESS...]'::
        This command returns the network the given IP address has been found in