Skip to content

Commit

Permalink
Merge pull request nervosnetwork#467 from doitian/wrong-option-name
Browse files Browse the repository at this point in the history
docs: fix wrong option name
  • Loading branch information
quake committed Apr 14, 2019
2 parents 3b5ceed + d6fa197 commit 554ba4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ckb-core-dev.md
Expand Up @@ -25,7 +25,7 @@ cd test && cargo run ../target/debug/ckb

## Chain Spec

The subcommand `ckb init` has an option `--export-spec` to export spec files
The subcommand `ckb init` has an option `--export-specs` to export spec files
as well, which allows editing the chain spec for development.

The chain spec can switch between different PoW engines. Wiki has the [instructions](https://github.com/nervosnetwork/ckb/wiki/PoW-Engines) about how to configure it.-
1 change: 1 addition & 0 deletions src/setup/cli.rs
Expand Up @@ -149,6 +149,7 @@ fn init() -> App<'static, 'static> {
.arg(
Arg::with_name(ARG_EXPORT_SPECS)
.long(ARG_EXPORT_SPECS)
.hidden(true)
.help("Export spec files as well"),
)
}

0 comments on commit 554ba4e

Please sign in to comment.