From 3906ade6a031f1fc97d49b09e867814e304abafd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 2 Dec 2015 05:26:25 +0100 Subject: do not require argv[0], it is possible to only specify the file to run, and let argv be empty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index a1fce3f..b162617 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME exec-as - exec(1) with explicit argv[0] SYNOPSIS - exec-as FILE ARGV0 [ARGV]... + exec-as FILE [ARGV0 [ARGV]...] DESCRIPTION exec-as shall spawn the program FILE, using execvp(3), @@ -10,7 +10,7 @@ DESCRIPTION arguments for the following values in argv. NOTES - At least two arguments is required. Since this is not + At least one argument is required. Since this is not a builtin function, it cannot be used as exec(1) without arguments to set file descriptors. -- cgit v1.2.3-70-g09d2