Add CommitmentConfig::single() support to the cli (#10114)

automerge
This commit is contained in:
Michael Vines
2020-05-19 13:45:21 -07:00
committed by GitHub
parent 97f2bcff69
commit d5d06e6be0
2 changed files with 2 additions and 1 deletions

View File

@@ -183,6 +183,7 @@ pub fn commitment_of(matches: &ArgMatches<'_>, name: &str) -> Option<CommitmentC
"max" => CommitmentConfig::max(),
"recent" => CommitmentConfig::recent(),
"root" => CommitmentConfig::root(),
"single" => CommitmentConfig::single(),
_ => CommitmentConfig::default(),
})
}