Opened 14 years ago

Closed 14 years ago

#2677 closed Bugs (invalid)

unnecessary inconsistency in boost:::program_options examples

Reported by: alfonso@… Owned by: Vladimir Prus
Milestone: Boost 1.38.0 Component: program_options
Version: Boost 1.37.0 Severity: Problem
Keywords: Cc:

Description

The example programs all have main declared as follows:

int main(int ac, char* av[])

This should be "argc", "argv" to be consistent with the rest of the known C/C++ universe.

Is saving four letters really worth introducing a variation from 30+ years worth of examples, going all the way back to K&R(78)?

Change History (2)

comment:1 by Marshall Clow, 14 years ago

Component: Noneprogram_options
Owner: set to Vladimir Prus

comment:2 by Vladimir Prus, 14 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.