From owner-freebsd-ports@FreeBSD.ORG Thu Nov 18 18:39:51 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCBB010656BD for ; Thu, 18 Nov 2010 18:39:51 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 949BE8FC16 for ; Thu, 18 Nov 2010 18:39:51 +0000 (UTC) Received: by ywa8 with SMTP id 8so2133229ywa.13 for ; Thu, 18 Nov 2010 10:39:50 -0800 (PST) Received: by 10.231.39.205 with SMTP id h13mr1065546ibe.148.1290105590569; Thu, 18 Nov 2010 10:39:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.143.15 with HTTP; Thu, 18 Nov 2010 10:39:30 -0800 (PST) In-Reply-To: <20101118161701.GB31322@libertas.local.camdensoftware.com> References: <20101117220248.GC53079@libertas.local.camdensoftware.com> <20101118161701.GB31322@libertas.local.camdensoftware.com> From: Eitan Adler Date: Thu, 18 Nov 2010 13:39:30 -0500 Message-ID: To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: [PATCH] Proposal for a new option framework X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2010 18:39:51 -0000 > Just pulled your latest changes, and now it takes more arrow keys to kill > it, but two tabs still does the trick. Ah, yes. This is a feature request that I have not gotten around to yet (I've been working on the one requests). At the moment "long description" is a filename you provide when you give via --hfile. Some people want it to be a user supplied string instead of a filename. >From the usage() --option optionName=description [--hfile filename] There is only = mark which marks the option name and the description. I probably should add some sanity checking for the command line parsing. Look at withlicence.sh and nolicence.sh for examples on how to run the program for now. -- Eitan Adler