summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 06ad8a48d3..16c58c72a7 100644
--- a/ruby.c
+++ b/ruby.c
@@ -438,7 +438,7 @@ proc_options(argc, argv)
goto reswitch;
case 'v':
- if (verbose) {
+ if (argv0 == 0 || verbose) {
s++;
goto reswitch;
}