help-gengetopt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gengetopt] --unamed-opts question


From: Lorenzo Bettini
Subject: Re: [help-gengetopt] --unamed-opts question
Date: Fri, 13 Oct 2006 10:27:03 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060927)

Eli Cohen wrote:
Hi Lorenzo,
I have just tried 2.19rc but it does not seem to solve my problem.
Here is the file  used:

package "rxc"
version "0.1"
args "--file-name=ccmdline --unamed-opts="<host> <command>"
purpose "this is a client for the remote execute package"
option "port" p "tcp port number" short typestr="port number" no

I still can't get rid of the square brackets and the elipsis...

Hi Eli

you should use the "usage" string in the .ggo file:

package "rxc"
version "0.1"
usage "rxc [OPTIONS]... <host> <command>"
args "--file-name=ccmdline"
purpose "this is a client for the remote execute package"
option "port" p "tcp port number" short typestr="port number" no

This should give you the output you want.

--
+-----------------------------------------------------+
| Lorenzo Bettini          ICQ# lbetto, 16080134      |
| PhD in Computer Science, DSI, Univ. di Firenze      |
| Florence - Italy        (GNU/Linux User # 158233)   |
| http://www.lorenzobettini.it                        |
| http://tronprog.blogspot.com  BLOG                  |
| http://www.purplesucker.com Deep Purple Cover Band  |
| http://www.gnu.org/software/src-highlite            |
| http://www.gnu.org/software/gengetopt               |
| http://www.lorenzobettini.it/software/gengen        |
| http://www.lorenzobettini.it/software/doublecpp     |
+-----------------------------------------------------+





reply via email to

[Prev in Thread] Current Thread [Next in Thread]