Skip to content

Commit

Permalink
fix: cli panic
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangsoledad committed Dec 18, 2018
1 parent 3abf2b1 commit c55e076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub fn get_matches() -> ArgMatches<'static> {
.about("Nervos CKB - The Common Knowledge Base")
.version(version.short().as_str())
.long_version(version.long().as_str())
.setting(AppSettings::ArgRequiredElseHelp)
.setting(AppSettings::SubcommandRequiredElseHelp)
.arg(
Arg::with_name("config")
.short("c")
Expand Down

0 comments on commit c55e076

Please sign in to comment.