View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001269 | Slicer4 | Core: Base Code | public | 2011-07-08 23:31 | 2014-05-13 09:06 |
| Reporter | finetjul | Assigned To | jcfr | ||
| Priority | low | Severity | feature | Reproducibility | N/A |
| Status | feedback | Resolution | open | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0001269: 1 function call for 1 argument to parse argc/argv with ctkCommandLineParser | ||||
| Description | Right now, to parse a command line, it requires minimum 4 lines of codes. If you are only interested with 1 argument, it could be handy to have 1 function (static?) to test if an argument is passed in the commandline. void main(int argc, char* argv[]) | ||||
| Additional Information | While we are at it, it could also be handy if it could memorize the parsing (like strtok() does): | ||||
| Tags | No tags attached. | ||||
|
See https://github.com/jcfr/CTK/commit/2ecff9ba18186ad0cc3a57d04c57d85fa1592e25 |
|
|
Let me know if the approach implemented in this topic works for you. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-07-08 23:31 | finetjul | New Issue | |
| 2011-07-08 23:31 | finetjul | Status | new => assigned |
| 2011-07-08 23:31 | finetjul | Assigned To | => jcfr |
| 2012-02-06 18:23 | jcfr | Note Added: 0003602 | |
| 2012-08-21 12:04 | jcfr | Target Version | => Slicer 4.3.0 |
| 2013-08-30 19:20 | jcfr | Target Version | Slicer 4.3.0 => Slicer 4.4.0 |
| 2014-03-07 11:05 | jcfr | Status | assigned => acknowledged |
| 2014-03-07 11:05 | jcfr | Target Version | Slicer 4.4.0 => |
| 2014-03-07 11:06 | jcfr | Status | acknowledged => assigned |
| 2014-03-07 11:06 | jcfr | Target Version | => Slicer 4.4.0 |
| 2014-03-07 11:07 | jcfr | Note Added: 0011383 | |
| 2014-03-07 11:07 | jcfr | Status | assigned => feedback |
| 2014-05-13 09:06 | jcfr | Target Version | Slicer 4.4.0 => |