summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xminirake4
-rw-r--r--src/codegen.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/minirake b/minirake
index 824e9b598..bdaef0b87 100755
--- a/minirake
+++ b/minirake
@@ -310,7 +310,7 @@ class RakeApp
['--nosearch', '-N', GetoptLong::NO_ARGUMENT,
"Do not search parent directories for the Rakefile."],
['--quiet', '-q', GetoptLong::NO_ARGUMENT,
- "Do not log messages to standard output."],
+ "Do not log messages to standard output (default)."],
['--rakefile', '-f', GetoptLong::REQUIRED_ARGUMENT,
"Use FILE as the rakefile."],
['--require', '-r', GetoptLong::REQUIRED_ARGUMENT,
@@ -324,7 +324,7 @@ class RakeApp
['--usage', '-h', GetoptLong::NO_ARGUMENT,
"Display usage."],
['--verbose', '-v', GetoptLong::NO_ARGUMENT,
- "Log message to standard output (default)."],
+ "Log message to standard output."],
['--directory', '-C', GetoptLong::REQUIRED_ARGUMENT,
"Change executing directory of rakefiles."]
]
diff --git a/src/codegen.c b/src/codegen.c
index 451b38129..a1564d955 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -2638,6 +2638,7 @@ loop_pop(codegen_scope *s, int val)
if (val) push();
}
+#ifdef ENABLE_STDIO
static int
print_r(mrb_state *mrb, mrb_irep *irep, size_t n, int pre)
{
@@ -2680,6 +2681,7 @@ print_lv(mrb_state *mrb, mrb_irep *irep, mrb_code c, int r)
}
printf("\n");
}
+#endif
static void
codedump(mrb_state *mrb, mrb_irep *irep)