Feature name correction

This commit is contained in:
Anton-4 2021-06-12 15:17:37 +02:00 committed by GitHub
parent 587d36505a
commit 2680e475d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,7 +100,7 @@ pub fn build_app<'a>() -> App<'a> {
) )
); );
if cfg!(feature = "edit") { if cfg!(feature = "editor") {
app.subcommand( app.subcommand(
App::new(CMD_EDIT).about("Launch the Roc editor").arg( App::new(CMD_EDIT).about("Launch the Roc editor").arg(
Arg::with_name(DIRECTORY_OR_FILES) Arg::with_name(DIRECTORY_OR_FILES)