Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Getopt-Long-Descriptive CPAN distribution.

Report information
The Basics
Id: 118143
Status: open
Priority: 0/
Queue: Getopt-Long-Descriptive

People
Owner: Nobody in particular
Requestors: NKH [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: excruciating help message
the format of nopaste --help makes me want to kill myself Would you take a patch or this is the format you want? Looks ok in the cpan page but not in a terminal /home/nadim/perl5/bin/nopaste [-?cdhLlnopqsx] [long options...] -h -? --usage --help Prints this usage information -d STR --description STR --desc STR The one line description of your paste. The default is usually the first few characters of your text. -n STR --name STR --nickname STR --nick STR Your nickname, usually displayed with the paste. -l STR --language STR --lang STR The language of the nopaste. Default: perl. -c STR --channel STR --chan STR The channel for the nopaste, not always relevant. Usually tied to a pastebot in that channel which will announce your paste. -s STR --service STR --services STR The nopaste services to try, in order. You may also specify this in the env var NOPASTE_SERVICES. -L --list --list_services List available nopaste services -x --copy If specified, automatically copy the URL to your clipboard. -p --paste If specified, use only the clipboard as input. -o --open --open_url If specified, automatically open the URL using Browser::Open. -q --quiet If specified, do not warn or complain about broken services. --private If specified, paste
On 2016-09-29 11:25:56, NKH wrote: Show quoted text
> the format of nopaste --help makes me want to kill myself
Sorry to hear that. Show quoted text
> Would you take a patch or this is the format you want? > > Looks ok in the cpan page but not in a terminal
Did you look at the code? It's all from Getopt::Long::Descriptive. It should be adjusting to the width of your terminal.
On Thu Sep 29 15:47:36 2016, ETHER wrote: Show quoted text
> On 2016-09-29 11:25:56, NKH wrote:
> > the format of nopaste --help makes me want to kill myself
> > Sorry to hear that. >
> > Would you take a patch or this is the format you want? > > > > Looks ok in the cpan page but not in a terminal
> > Did you look at the code? It's all from Getopt::Long::Descriptive. It > should be adjusting to the width of your terminal.
terminal was wider than the displayed text which seems to be wrapped around 80 since the options is a long line of equivalent option, there's not much room left for any explanation. IMO, either change the long line of option or this should be reported to Getopt::Long::Descriptive which make a bad work out of its input