forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin#16097: Refactor: Add Flags enum to ArgsManager class
e6f649c test: Make tests arg type specific (Hennadii Stepanov) b70cc5d Revamp option negating policy (Hennadii Stepanov) db08edb Replace IsArgKnown() with FlagsOfKnownArg() (Hennadii Stepanov) dde80c2 Use ArgsManager::NETWORK_ONLY flag (Hennadii Stepanov) 9a12733 Remove unused m_debug_only member from Arg struct (Hennadii Stepanov) fb4b9f9 scripted-diff: Use ArgsManager::DEBUG_ONLY flag (Hennadii Stepanov) 1b4b942 scripted-diff: Use Flags enum in AddArg() (Hennadii Stepanov) 265c1b5 Add Flags enum to ArgsManager (Hennadii Stepanov) e0d187d Refactor InterpretNegatedOption() function (Hennadii Stepanov) e0e18a1 refactoring: Check IsArgKnown() early (Hennadii Stepanov) Pull request description: This PR adds the `Flags` enum to the `ArgsManager` class. Also the `m_flags` member is added to the `Arg` struct. Flags denote an allowed type of an arg value and special hints. This PR is only a refactoring and does not change behavior. ACKs for top commit: jamesob: ACK bitcoin@e6f649c MarcoFalke: ACK e6f649c thanks for adding types to the command line options Tree-SHA512: b867f8a9cbce2d2473c293d534af662d8cd5be15060ff0682e97af678974bdaac35e8bc6328ccba32f105034bcd38f169b92a6fb67798667891ce14d5d2a2dea
- Loading branch information
1 parent
6b8bdfd
commit f1d527d
Showing
12 changed files
with
393 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.