Skip to content

Commit

Permalink
more examples how the tool can be used
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Schulz committed Mar 7, 2020
1 parent 5e7f227 commit 18aefb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ Command-line tool that allows to call an app with arguments from an args file.
== Usage

----
injarg
injarg <app> [ ... --args <file> ... ]
eval $( injarg <app> [ ... --args <file> ... ] )
injarg <app> [ ... --args <file> ... ] | /bin/sh
----

== Installation
Expand Down
2 changes: 2 additions & 0 deletions bin/injarg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 18aefb3

Please sign in to comment.