Project

General

Profile

Feature #141

Support for long options

Added by Corentin Chary over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Target version:
-
Start date:
06/01/2012
Due date:
% Done:

0%

Estimated time:

Description

I like when my programs respond to --help correctly. Would be cool to use getopt_long.

./bin/dfc: invalid option -- '-'

History

#1

Updated by Robin Hahling over 8 years ago

  • Status changed from New to Rejected

Hi,

I have been asked this already. However, for the sake of consistency, I do not plan to implement it.
This would mean that I should use getopt_long(3) instead of getopt(3).
The BSD and the GNU implementation of getopt_long differ and standard tools on *BSD systems do not use long options.

Moreover, I personally do not see any benefit of using long options if they all have their short counterparts. So... I think it is not worth it to implement. Sorry if you feel disappointed.

Also available in: Atom PDF