Package: libpopt
Version: 1.16-1

 

   Unambiguous shortening of long option names is a very common feature of 
POSIX and GNU command lines.  For instance, the documentation for tar states: 
"Each option has at least one long (or mnemonic) name starting with two dashes 
in a row, e.g., '--list'. [...] In addition, long option names can be given 
unique abbreviations. For example, '--cre' can be used in place of '--create' 
because there is no other long option which begins with 'cre'."

 

   Implementing support for automatic unambiguous abbreviation of long option 
names would mean adding a new poptGetContext() flag, POPT_CONTEXT_ALLOW_ABBREV, 
and a new poptGetNextOpt() error code, POPT_ERROR_AMBIG_OPTION.

 

Daniel U. Thibault
R & D pour la défense Canada - Valcartier (RDDC Valcartier) / Defence R&D 
Canada - Valcartier (DRDC Valcartier)
Système de systèmes (SdS) / System of Systems (SoS)
Solutions informatiques et expérimentations (SIE) / Computing Solutions and 
Experimentations (CSE)
2459 Boul. Pie XI Nord
Québec, QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC: 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ> 
Gouvernement du Canada / Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/ 
<http://www.valcartier.drdc-rddc.gc.ca/> >

Reply via email to