Enable commitment arg on solana deploy (#12532)

This commit is contained in:
Tyera Eulberg
2020-09-28 16:24:38 -06:00
committed by GitHub
parent c94fe9236f
commit 35208c5ee7
2 changed files with 14 additions and 6 deletions

View File

@ -15,7 +15,7 @@ pub fn commitment_arg_with_default<'a, 'b>(default_value: &'static str) -> Arg<'
Arg::with_name(COMMITMENT_ARG.name)
.long(COMMITMENT_ARG.long)
.takes_value(true)
.possible_values(&["recent", "single", "root", "max"])
.possible_values(&["recent", "single", "singleGossip", "root", "max"])
.default_value(default_value)
.value_name("COMMITMENT_LEVEL")
.help(COMMITMENT_ARG.help)