mehrdadrad / mylg

Network Diagnostic Tool
http://mylg.io
MIT License
2.7k stars 233 forks source link

Invalid argument for trace -r #82

Open koullislp opened 6 years ago

koullislp commented 6 years ago

Compiled from source using the last commit. When I try to test trace I get this:

local> trace freebsd.org -r invalid argument

mehrdadrad commented 6 years ago

I just tried and works maybe ur version is old. try latest version

=================================================
                          _    ___
                _ __ _  _| |  / __|
               | '  \ || | |_| (_ |
               |_|_|_\_, |____\___|
                      |__/

                 My Looking Glass
           Free Network Diagnostic Tool
                  http://mylg.io
================== myLG v0.2.7 ==================
local> trace

    usage:
          trace IP address / domain name [options]
    options:
          -r             Real-time response time at each point along the way
          -n             Do not try to map IP addresses to host names
          -nr            Do not try to map IP addresses to ASN,Holder (RIPE NCC)
          -m MAX_TTL     Set the maximum number of hops
          -4             Forces the trace command to use IPv4 (target should be hostname)
          -6             Forces the trace command to use IPv6 (target should be hostname)
          -T             Set the real-time terminal theme (dark|light)
          -c             Set the number of pings sent
          -p             Set the packet size in bytes inclusive headers (default 52 bytes)
          -u             Use UDP datagram instead of ICMP
          -R             Prints results of real-time trace, when completed
    Example:
          trace 8.8.8.8
          trace freebsd.org -r