diff --git a/README.adoc b/README.adoc index f214046..9592baa 100644 --- a/README.adoc +++ b/README.adoc @@ -9,7 +9,9 @@ Command-line tool that allows to call an app with arguments from an args file. == Usage ---- -injarg +injarg [ ... --args ... ] +eval $( injarg [ ... --args ... ] ) +injarg [ ... --args ... ] | /bin/sh ---- == Installation diff --git a/bin/injarg b/bin/injarg index de5bf78..5a0bcd4 100755 --- a/bin/injarg +++ b/bin/injarg @@ -315,6 +315,8 @@ end if #arg < 1 then errfln( "Need at least the app name." ) printfln( usage() ) + printfln( "eval $( "..usage().." )" ) + printfln( usage().." | /bin/sh" ) errexit() end