diff options
| author | Russell Yanofsky <[email protected]> | 2019-11-11 19:05:12 -0500 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2019-11-13 04:20:30 -0500 |
| commit | dc0f1480746b34aa3ca2d9c0f1ec764083026b40 (patch) | |
| tree | 71bf0642facbb3f60abab127e03b7d7be2b4ff44 /src/httpserver.cpp | |
| parent | refactor: Clean up includeconf comments (diff) | |
| download | discoin-dc0f1480746b34aa3ca2d9c0f1ec764083026b40.tar.xz discoin-dc0f1480746b34aa3ca2d9c0f1ec764083026b40.zip | |
refactor: Replace FlagsOfKnownArg with GetArgFlags
Rename suggested by João Barbosa <[email protected]>
https://github.com/bitcoin/bitcoin/pull/16545#issuecomment-519048000
This also gets rid of ArgsManager::NONE constant, which was an implementation
detail not meant to be used by ArgsManager callers.
Finally this reverts a change from 7f40528cd50fc43ac0bd3e785de24d661adddb7a
https://github.com/bitcoin/bitcoin/pull/15934 adding "-" characters to argument
names. Better for GetArgFlags to require "-" prefixes for consistency with
other ArgsManager methods, and to be more efficient later when GetArg functions
need to call GetArgFlags (https://github.com/bitcoin/bitcoin/pull/16545)
This commit does not change behavior.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions