From patchwork Fri May 3 15:17:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dichtel X-Patchwork-Id: 241333 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3314E2C00D8 for ; Sat, 4 May 2013 01:18:32 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933178Ab3ECPSU (ORCPT ); Fri, 3 May 2013 11:18:20 -0400 Received: from 33.106-14-84.ripe.coltfrance.com ([84.14.106.33]:37574 "EHLO proxy.6wind.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932459Ab3ECPST (ORCPT ); Fri, 3 May 2013 11:18:19 -0400 Received: from schnaps.dev.6wind.com (unknown [10.16.0.249]) by proxy.6wind.com (Postfix) with ESMTPS id 3213259875; Fri, 3 May 2013 16:42:53 +0200 (CEST) Received: from root by schnaps.dev.6wind.com with local (Exim 4.80) (envelope-from ) id 1UYHkZ-0001Nn-F3; Fri, 03 May 2013 17:18:19 +0200 From: Nicolas Dichtel To: shemminger@vyatta.com Cc: netdev@vger.kernel.org, Nicolas Dichtel Subject: [PATCH iproute2] ip: add missing help about mode argument Date: Fri, 3 May 2013 17:17:42 +0200 Message-Id: <1367594262-5136-1-git-send-email-nicolas.dichtel@6wind.com> X-Mailer: git-send-email 1.8.2.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org There is three possibilities: only IPv6, only IPv4 or both. Signed-off-by: Nicolas Dichtel --- ip/link_ip6tnl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ip/link_ip6tnl.c b/ip/link_ip6tnl.c index 2947364..f5b1245 100644 --- a/ip/link_ip6tnl.c +++ b/ip/link_ip6tnl.c @@ -33,6 +33,7 @@ static void usage(void) __attribute__((noreturn)); static void usage(void) { fprintf(stderr, "Usage: ip link { add | set | change | replace | del } NAME\n"); + fprintf(stderr, " [ mode { ip6ip6 | ipip6 | any } ]\n"); fprintf(stderr, " type ip6tnl [ remote ADDR ] [ local ADDR ]\n"); fprintf(stderr, " [ dev PHYS_DEV ] [ encaplimit ELIM ]\n"); fprintf(stderr ," [ hoplimit HLIM ] [ tclass TCLASS ] [ flowlabel FLOWLABEL ]\n");