[PATCH v2] traceroute: add missing description of -i option to usage text

Denys Vlasenko vda.linux at googlemail.com
Mon Aug 24 16:57:46 UTC 2015


Help text needed more fixes than this one.

I included your fix into a more extensive change. Thanks!

On Sun, Aug 23, 2015 at 10:30 PM, Alex <alexinbeijing at gmail.com> wrote:
> Ping...
>
> ---------- Forwarded message ----------
> From: Alex Dowad <alexinbeijing at gmail.com>
> Date: Fri, Aug 7, 2015 at 10:31 AM
> Subject: [PATCH v2] traceroute: add missing description of -i option
> to usage text
> To: busybox at busybox.net
>
> I thought that BusyBox traceroute didn't allow the user to set the source
> interface, and was searching all around for an alternative... until I
> looked at the source and discovered it was there all along. This will
> help other users to avoid making the same mistake.
>
> Signed-off-by: Alex Dowad <alexinbeijing at gmail.com>
> ---
>  networking/traceroute.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/networking/traceroute.c b/networking/traceroute.c
> index 97a7a19..1c26fab 100644
> --- a/networking/traceroute.c
> +++ b/networking/traceroute.c
> @@ -227,6 +227,7 @@
>  //usage:     "\n       -r      Bypass routing tables, send directly to HOST"
>  //usage:     "\n       -v      Verbose"
>  //usage:     "\n       -m      Max time-to-live (max number of hops)"
> +//usage:     "\n       -i      Interface to use as source"
>  //usage:     "\n       -p      Base UDP port number used in probes"
>  //usage:     "\n               (default 33434)"
>  //usage:     "\n       -q      Number of probes per TTL (default 3)"
> @@ -246,6 +247,7 @@
>  //usage:     "\n       -r      Bypass routing tables, send directly to HOST"
>  //usage:     "\n       -v      Verbose"
>  //usage:     "\n       -m      Max time-to-live (max number of hops)"
> +//usage:     "\n       -i      Interface to use as source"
>  //usage:     "\n       -p      Base UDP port number used in probes"
>  //usage:     "\n               (default is 33434)"
>  //usage:     "\n       -q      Number of probes per TTL (default 3)"
> --
> 2.0.0.GIT
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list