You are not logged in.

#1 2015-02-16 10:42:39

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,302

getopts long options

Have long options been dropped from getopts. I can find nothing in the manual and -l is not recognised (having said that, -o throws an error, but if omitted the short args are properly recognised)

TIA


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#2 2015-02-16 12:05:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Offline

#3 2015-02-16 12:36:37

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,302

Re: getopts long options

Thank you. I searched everywhere I could find and not once did anywhere mention there was an internal and an external getopts.

Now to decide, do I make do with short only, or add a program to my dependancies.....Hmmm.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

Board footer

Powered by FluxBB