summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
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;