summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-15 06:22:49 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-15 06:22:49 +0000
commitc345257ff6c1e913125739545a40cc1b60b62611 (patch)
tree410afef9741dff97642c267ece942d7cfeeab0f6 /ruby.c
parent37282fa5b083375cab6780824a8941c459b59ebe (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ruby.c b/ruby.c
index 7319889da6..2bd485a6c2 100644
--- a/ruby.c
+++ b/ruby.c
@@ -93,14 +93,13 @@ usage(name)
"-x[directory] strip off text before #!ruby line and perhaps cd to directory",
"--copyright print the copyright",
"--version print the version",
-"\n",
NULL
};
char **p = usage_msg;
- printf("\nUsage: %s [switches] [--] [programfile] [arguments]", name);
+ printf("Usage: %s [switches] [--] [programfile] [arguments]\n", name);
while (*p)
- printf("\n %s", *p++);
+ printf(" %s\n", *p++);
}
extern VALUE rb_load_path;