Comments (1)
@tfinnegan937 Thanks for the report. The behaviour was fixed in #18.
I wasn't going to support optional initially because I assumed one would look at the size() of a plain vector to see if the option was present, so I left this case unhandled. But after your report, it occurred to me that this could be useful for options with minargs(0). Now when an argument is an option without values, an optional gets a value, an empty vector. In previous versions, flagValue was added to the vector.
from argumentum.
Related Issues (9)
- Clean the arguments loaded with the @ parameter
- Likely, the documentation for building and consuming the library should elaborated. HOT 2
- Error when consuming the library HOT 1
- Suggestion on CMake consumption as non-installed library. HOT 2
- No tag v0.3.2 HOT 1
- Creating an argument that takes a list of strings produces the error string "Assignment is Not Implemented" HOT 1
- compile error with basic example and latest master HOT 1
- Specify value name for optional arguments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argumentum.