Make export blocks default to json on stdout (#5090)

* Make export blocks default to json on stdout

* Multiline instead of single line to stay under 100 cols

* Change --json flag to --binary, defaulting to json
This commit is contained in:
pscott
2020-03-02 10:59:39 +01:00
committed by GitHub
parent 9a925faf7d
commit d7e4aa41b9
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -742,7 +742,7 @@ pub trait ServiceBuilderCommand {
output: impl Write + 'static,
from: NumberFor<Self::Block>,
to: Option<NumberFor<Self::Block>>,
json: bool
binary: bool
) -> Pin<Box<dyn Future<Output = Result<(), Error>>>>;
/// Performs a revert of `blocks` blocks.