Comments (5)
Would the idea be that you can configure the parser just prior to parsing to either parse for short option groups or ignore short option groups and treat multi-character options as long options?
from argagg.
yes, this is exactly what I mean: the approach of grouping short options is popular but an alternative practice of using long options with a single dash is also popular enough.
so I would recommend a flag in c-tor disabling grouping and allowing -l
, -log
and --log
to be the same option.
from argagg.
XCode puts some default arguments, which breaks the argument parser
"-NSDocumentRevisionsDebugMode"
Either a option to filter them or some sort of compatibility mode would be helpfull
from argagg.
Merging with #23.
from argagg.
Actually reopening this after #23 (comment)
from argagg.
Related Issues (20)
- Correctly handle parse errors from strtol, strtoll, strtof, and strtod HOT 1
- Simplify base constructor inheritance HOT 2
- argagg::definition should have a move constructor
- Get rid of definition names, key by the option itself
- Cannot use the NOT operator in VS2017 HOT 5
- Optional argument param HOT 3
- argagg::parser_results::operator[] throws std::out_of_range when key does not exsits HOT 3
- Method of using defaut argument still fails HOT 4
- Key errors when getting option results should have a custom exception HOT 1
- Support for options like -std=foo HOT 3
- Support for sinks of unparsed arguments HOT 1
- Doc Issue
- get rid of mandatory iostreams dependency
- Add a CMake interface target
- bool argument HOT 2
- CMake Deprecation Warning
- Warnings on MSVC: unused local variable HOT 1
- incorrect integer conversion
- Add global order of options 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 argagg.