| Anonymous | Login | Signup for a new account | 2013-06-20 00:17 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0005827 | OCaml | OCaml standard library | public | 2012-11-15 06:05 | 2013-06-13 18:41 | |||
| Reporter | hongboz | |||||||
| Assigned To | doligez | |||||||
| Priority | normal | Severity | feature | Reproducibility | have not tried | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | ||||||||
| Target Version | 4.01.0+dev | Fixed in Version | 4.01.0+dev | |||||
| Summary | 0005827: provide a dynamic command line parsing mechanism | |||||||
| Description | The current Arg module can not support extending the parsing arguments dynamically. For example: binary -f -g -h when -f take effect, it can update the specific list, which tells how to understand -g and -h, etc. The change is minimal. Adding 2(!) to spec_list is enough, for back-ward compatibility, I add two wrappers. This feature is very useful to write a wrapper of another executable to support extra command line options | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0009419) gasche (developer) 2013-06-06 10:47 |
In general I'd say that we don't want fancy new features in Arg, and that for more flexibility an outside library should be used, such that the excellent cmdliner http://erratique.ch/software/cmdliner [^] That said, it's true that this change really is minimal, so it doesn't hurt much to include it. I would be in favor of taking it in. |
|
(0009482) doligez (manager) 2013-06-13 18:41 |
patch applied to trunk(4.01.0) : rev 13772 |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-11-15 06:05 | hongboz | New Issue | |
| 2012-11-15 06:05 | hongboz | File Added: arg.patch | |
| 2013-06-06 10:47 | gasche | Note Added: 0009419 | |
| 2013-06-06 15:34 | doligez | Assigned To | => doligez |
| 2013-06-06 15:34 | doligez | Status | new => assigned |
| 2013-06-06 15:35 | doligez | Severity | minor => feature |
| 2013-06-06 15:35 | doligez | Target Version | => 4.01.0+dev |
| 2013-06-13 18:41 | doligez | Note Added: 0009482 | |
| 2013-06-13 18:41 | doligez | Status | assigned => closed |
| 2013-06-13 18:41 | doligez | Resolution | open => fixed |
| 2013-06-13 18:41 | doligez | Fixed in Version | => 4.01.0+dev |
| Copyright © 2000 - 2011 MantisBT Group |