ok,

In the example script that you included in the bug, place
"--" as an argument just after "-menubox". Then further arguments that
start with - such as "-The Great Unix Clone" are not interpreted by
getopt as options, but passed directly and interpreted as desired.

This is a standard feature of getopt and used in many such programs to
avoid strings starting with "-" from incorrectly being interpreted as
options. It works in this case, and I documented such in the man page.

The error message could be clearer; it should have explained why "-The"
was wrong, and I will leave this report open until this is fixed.

Regards
Alastair



On Domh, 2005-07-10 at 15:25 +0300, Ognyan Kulev wrote:
> reopen 284708
> thanks
> 
> I can't see how this upload closes #284708.
> 
> Regards,
> ogi
> 
> Debian Bug Tracking System wrote:
> > This is an automatic notification regarding your Bug report
> > #284708: Automatic decompression of *.gz files,
> > which was filed against the syslog-summary package.
> 
> >  newt (0.51.6-27) unstable; urgency=low
> >  .
> >    * Translations:
> >       - Wolof (wo) thanks to Mouhamadou Mamoune Mbacke. Closes: #317535.
> >    * Add explanation to whiptail man page as to how to start text with a 
> > dash
> >      '-'. Closes: #284708.
> >    * Move to Standards-Version: 3.6.2
> 
> 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to