Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Merge requests
!1994
Draft: Testing master -> zoom merge
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Draft: Testing master -> zoom merge
master
into
zoom_merge
Overview
3
Commits
141
Changes
333
Merged
William Roper
requested to merge
master
into
zoom_merge
8 months ago
Overview
3
Commits
141
Changes
333
Expand
Just a test to see the diff.
0
0
Merge request reports
Compare
zoom_merge
version 2
6b2d9001
8 months ago
version 1
8e7d2996
8 months ago
zoom_merge (base)
and
latest version
latest version
5b139c59
141 commits,
8 months ago
version 2
6b2d9001
138 commits,
8 months ago
version 1
8e7d2996
136 commits,
8 months ago
333 files
+
11873
−
2957
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
333
Search (e.g. *.vue) (Ctrl+P)
argparse/argparse.h
+
7
−
14
Options
@@ -105,20 +105,13 @@ int argparse_help_cb(struct argparse *self,
@@ -105,20 +105,13 @@ int argparse_help_cb(struct argparse *self,
const
struct
argparse_option
*
option
);
const
struct
argparse_option
*
option
);
// built-in option macros
// built-in option macros
#define OPT_END() \
#define OPT_END() {ARGPARSE_OPT_END, 0, NULL, NULL, 0, NULL, 0, 0}
{ ARGPARSE_OPT_END, 0, NULL, NULL, 0, NULL, 0, 0 }
#define OPT_BOOLEAN(...) {ARGPARSE_OPT_BOOLEAN, __VA_ARGS__}
#define OPT_BOOLEAN(...) \
#define OPT_BIT(...) {ARGPARSE_OPT_BIT, __VA_ARGS__}
{ ARGPARSE_OPT_BOOLEAN, __VA_ARGS__ }
#define OPT_INTEGER(...) {ARGPARSE_OPT_INTEGER, __VA_ARGS__}
#define OPT_BIT(...) \
#define OPT_FLOAT(...) {ARGPARSE_OPT_FLOAT, __VA_ARGS__}
{ ARGPARSE_OPT_BIT, __VA_ARGS__ }
#define OPT_STRING(...) {ARGPARSE_OPT_STRING, __VA_ARGS__}
#define OPT_INTEGER(...) \
#define OPT_GROUP(h) {ARGPARSE_OPT_GROUP, 0, NULL, NULL, h, NULL, 0, 0}
{ ARGPARSE_OPT_INTEGER, __VA_ARGS__ }
#define OPT_FLOAT(...) \
{ ARGPARSE_OPT_FLOAT, __VA_ARGS__ }
#define OPT_STRING(...) \
{ ARGPARSE_OPT_STRING, __VA_ARGS__ }
#define OPT_GROUP(h) \
{ ARGPARSE_OPT_GROUP, 0, NULL, NULL, h, NULL, 0, 0 }
#define OPT_HELP() \
#define OPT_HELP() \
OPT_BOOLEAN('h', "help", NULL, "show this help message and exit", \
OPT_BOOLEAN('h', "help", NULL, "show this help message and exit", \
argparse_help_cb, 0, 0)
argparse_help_cb, 0, 0)
Loading