From owner-freebsd-hackers@freebsd.org Thu Sep 7 11:47:25 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E14B8E19DAD for ; Thu, 7 Sep 2017 11:47:25 +0000 (UTC) (envelope-from by@meetlost.com) Received: from meetlost.com (freebsd.meetlost.com [IPv6:2403:2500:8000:1::962]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.meetlost.com", Issuer "mail.meetlost.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B8327E541 for ; Thu, 7 Sep 2017 11:47:25 +0000 (UTC) (envelope-from by@meetlost.com) Received: from [10.203.55.86] ([223.104.63.189]) (authenticated bits=0) by meetlost.com (8.15.2/8.15.2) with ESMTPSA id v87Bl0C3095516 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 7 Sep 2017 11:47:01 GMT (envelope-from by@meetlost.com) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Parse command line arguments with getopt_long() From: by X-Mailer: iPhone Mail (14G60) In-Reply-To: Date: Thu, 7 Sep 2017 19:47:16 +0800 Cc: freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <50555B87-1EFF-4C1D-92F0-7E98123BD2E6@meetlost.com> References: <373D1051-950A-41B1-BB33-55540A1E393A@meetlost.com> <4CE43FB0-BC24-4498-9752-F4DF7F1D43F4@meetlost.com> To: Yubin Ruan X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 11:47:26 -0000 OK I will take a look about that. by >=20 > 2017-09-07 19:20 GMT+08:00 by : >> Hi, >>=20 >> What do you mean of "gflags"? >>=20 >> And I think iterate argv would be simple to implement. >>=20 >> Just considering whether it is necessary to add this into library if impl= ement it in a generic way. >=20 > gflags is a library used to parse command line arg, developed and > open-sourced by google. >=20 > Yubin >=20 >>=20 >>> Will "gflags" be OK? >>>=20 >>> Yubin >>>=20 >>=20