diff --git a/cli/flags.rs b/cli/flags.rs index 754ccec843..f018d00b07 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -890,7 +890,7 @@ fn compile_subcommand<'a, 'b>() -> App<'a, 'b> { runtime_args(SubCommand::with_name("compile"), true, false) .setting(AppSettings::TrailingVarArg) .arg( - script_arg(), + script_arg().required(true), ) .arg( Arg::with_name("output") diff --git a/cli/main.rs b/cli/main.rs index 519fc26c4a..de0e63e849 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -1248,6 +1248,7 @@ fn unwrap_or_exit(result: Result) -> T { let msg = format!( "{}: {}", colors::red_bold("error"), + // TODO(lucacasonato): print anyhow error chain here error.to_string().trim() ); eprintln!("{}", msg);