Your message dated Tue, 1 Aug 2023 16:49:47 +0200
with message-id <[email protected]>
and subject line Re: libpopt-dev: poptPrintHelp displays syntax with no 
arguments
has caused the Debian Bug report #566018,
regarding libpopt-dev: poptPrintHelp displays syntax with no arguments
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
566018: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566018
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpopt-dev
Version: 1.14-4
Severity: wishlist

The otherHelp field cannot be set, therefore poptPrintHelp always printf

   Usage: progname [OPTIONS...]

and never prints an argument list. otherHelp is defined in poptint.h, but
an utility is missing for setting it. Something like the following would
suffice:

void poptSetOtherHelp(poptContext con, const char *alt)
{
        con->otherHelp = strdup(alt);
}

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (800, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26ale9 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libpopt-dev depends on:
ii  libc6-dev [libc-dev]          2.7-18     GNU C Library: Development Librari
ii  libpopt0                      1.14-4     lib for parsing cmdline parameters

libpopt-dev recommends no packages.

libpopt-dev suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Control: notfound -1 1.14-4

On Wed, 20 Jan 2010 18:43:16 +0100 Alessandro Vesely <[email protected]> wrote:
> Package: libpopt-dev
> Version: 1.14-4
> Severity: wishlist
> 
> The otherHelp field cannot be set, therefore poptPrintHelp always printf
> 
>    Usage: progname [OPTIONS...]
> 
> and never prints an argument list. otherHelp is defined in poptint.h, but
> an utility is missing for setting it. Something like the following would
> suffice:
> 
> void poptSetOtherHelp(poptContext con, const char *alt)
> {
>       con->otherHelp = strdup(alt);
> }
> 
> -- System Information:
> Debian Release: 5.0.3
>   APT prefers stable
>   APT policy: (800, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.26ale9 (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages libpopt-dev depends on:
> ii  libc6-dev [libc-dev]          2.7-18     GNU C Library: Development 
> Librari
> ii  libpopt0                      1.14-4     lib for parsing cmdline 
> parameters
> 
> libpopt-dev recommends no packages.
> 
> libpopt-dev suggests no packages.
> 
> -- no debconf information
> 
> 
> 

If I'm reading this issue correctly, I believe this is a user issue, or
perhaps bad documentation. The function is called
"poptSetOtherOptionHelp" and the signature is 
    void poptSetOtherOptionHelp(poptContext con, const char * text)

The function has been there a long time, i could trace it as far back as
version 1.1.1 (the git tags ended there).


-- 
HÃ¥vard

--- End Message ---

Reply via email to