From 073ff4d14db13cdd6ced714ec9471be2d43cef9b Mon Sep 17 00:00:00 2001 From: mazze Date: Wed, 12 Sep 2012 21:35:53 +0000 Subject: [PATCH] Set the default of the FILENAME argument to "R" so that calling R without arguments shows the arguments of R itself. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@45782 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/c/R/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workbench/c/R/main.c b/workbench/c/R/main.c index e413571116..59008fa129 100644 --- a/workbench/c/R/main.c +++ b/workbench/c/R/main.c @@ -59,7 +59,7 @@ static BOOL handle_args(struct Req *req, int argc, char **argv) { if (argc) { - IPTR args[ARG_COUNT] = {0}; + IPTR args[ARG_COUNT] = {(IPTR)"R", 0, 0, 0}; req->rda = ReadArgs(ARG_TEMPLATE, args, NULL); if (!req->rda) -- 2.11.4.GIT