[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getopt does not support optional arguments to options
From: |
nigelberlinguer |
Subject: |
getopt does not support optional arguments to options |
Date: |
Thu, 26 Aug 2021 21:58:58 +0000 |
- Have been told that getopt does not support optional arguments to options.
Either you declare the option with : (and failing to provide an argument is an
error); or you don't (and providing an argument is an error). Is this true,
with no workarounds ? Then I have to write the parsing myself, right ?.
- getopt does not support optional arguments to options,
nigelberlinguer <=