aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-02 05:26:25 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-02 05:26:25 +0100
commit3906ade6a031f1fc97d49b09e867814e304abafd (patch)
tree42f9bd5c48feefe6c58c8fd964a6ce192aee3daa /README
parentadd info manual (diff)
downloadexec-as-3906ade6a031f1fc97d49b09e867814e304abafd.tar.gz
exec-as-3906ade6a031f1fc97d49b09e867814e304abafd.tar.bz2
exec-as-3906ade6a031f1fc97d49b09e867814e304abafd.tar.xz
do not require argv[0], it is possible to only specify the file to run, and let argv be empty
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
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.