Skip to content

Commit e976f96

Browse files
authored
Fix issue #240: Multiple long option names / aliases (#349)
* Fixes #240: Multiple long option names / aliases * We now use a vector of long option names instead of a single name * When specifying an option, you can provide multiple names separated by commas, at most one of which may have a length of 1 (not necessarily the first specified name). The length-1 name is the single-hyphen switch (the "short name"). * Hashing uses the first long name * Option help currently only uses the first long name.
1 parent 43ebb49 commit e976f96

File tree

4 files changed

+152
-76
lines changed

4 files changed

+152
-76
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ options. The project adheres to semantic versioning.
77

88
### Added
99

10+
* Support for multiple long names for the same option (= multiple long aliases)
1011
* Add a `program()` function to retrieve the program name.
1112
* Added a .clang-format file.
1213

0 commit comments

Comments
 (0)