summaryrefslogtreecommitdiff
path: root/src/handlers.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-17 16:34:30 -0400
committerGitHub <noreply@github.com>2018-08-17 16:34:30 -0400
commit17b9c5c39028bce80e21d209c1283f8bac462bd9 (patch)
tree670113732364d1976a4b1b0e86f59512bfd3c551 /src/handlers.rs
parent4a55724f814a4f71b6275ce0f8a97f4720f39dea (diff)
Command line flag parsing (#524)
In particular this allow -D for logging debug output.
Diffstat (limited to 'src/handlers.rs')
-rw-r--r--src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers.rs b/src/handlers.rs
index 401c25144..d098bdfa0 100644
--- a/src/handlers.rs
+++ b/src/handlers.rs
@@ -82,7 +82,7 @@ fn reply_start(d: *const DenoC) {
&msg::StartResArgs {
cwd: Some(cwd_off),
argv: Some(argv_off),
- debug_flag: false,
+ debug_flag: deno.flags.log_debug,
..Default::default()
},
);