j5

aditionnal tools for the s6 service manager
Log | Files | Refs | README

commit 6af65e1f770383d11e3b86041fa43d7d04bd939a
parent 3489cdb67c8e4cccb70713b052d9291ef6d8a8b7
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 27 Jan 2019 02:48:18 +0100

add documentation for the -e flag

Diffstat:
Mj5-envdir.1 | 6+++++-
Mj5-envdir.c | 2+-
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/j5-envdir.1 b/j5-envdir.1 @@ -13,6 +13,7 @@ . .Nm j5-envdir .Op Fl a +.Op Fl e .Op Fl f Ar file .Op Fl n Ar chomp .Op Fl p Ar prefix @@ -33,13 +34,16 @@ variables whose key is the name of the file, and whose value is the content of the file. . .Pp -It then execute the rest of the file +It then execute the rest of the arguments. . .Bl -tag -width 6n . .It Fl a Perform substitution on command line arguments. . +.It Fl e +Export variables to environment. +. .It Fl f Ar file Perform substitution on the content of .Ar file diff --git a/j5-envdir.c b/j5-envdir.c @@ -28,7 +28,7 @@ die_nomem(void) void usage(char *progname) { - log_usage(progname, "[-a] [-f file] [-p prefix] [-s suffix] [-n stripchars] envdir cmd [arg...]"); + log_usage(progname, "[-ae] [-f file] [-p prefix] [-s suffix] [-n stripchars] envdir cmd [arg...]"); } int