diff options
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r-- | cli/args/flags.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs index f4bc0c862..c60bc0d99 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -2805,7 +2805,11 @@ fn test_parse(flags: &mut Flags, matches: &clap::ArgMatches) { .unwrap_or(NonZeroUsize::new(1).unwrap()) } } else if matches.is_present("jobs") { - println!( + // We can't change this to use the log crate because its not configured + // yet at this point since the flags haven't been parsed. This flag is + // deprecated though so it's not worth changing the code to use the log + // crate here and this is only done for testing anyway. + eprintln!( "{}", crate::colors::yellow("Warning: --jobs flag is deprecated. Use the --parallel flag with possibly the 'DENO_JOBS' environment variable."), ); |