#540678 mention how to see usage upon option error

Package:
xclip
Source:
xclip
Description:
command line interface to X selections
Submitter:
Date:
2010-02-03 20:55:20 UTC
Severity:
wishlist
#540678#5
Date:
2009-08-09 16:17:48 UTC
From:
To:
$ xclip --help
xclip: --help: No such file or directory
$ xclip -z
xclip: -z: No such file or directory

In all such cases also say 'use -h to see usage'.

#540678#14
Date:
2009-09-23 11:38:49 UTC
From:
To:
Unfortunately, this cannot be fixed without breaking backwards compatibility and
I don't want to speculate where xclip might be used.

The problem is that currently you can just use filenames starting with a dash,
but if you were to recognize invalid options, such filenames would have to be
seperated by --.

I am currently considering creating a modern replacement for xclip that does not
use the X argument parsing style.

#540678#21
Date:
2010-02-03 20:43:37 UTC
From:
To:
MG> I am currently considering creating a modern replacement for xclip

Say, maybe it could even no need X around... becoming a general paste
buffer one could read and write to/from, if X is not detected...