diff options
Diffstat (limited to 'tools/shld.sh')
-rwxr-xr-x | tools/shld.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tools/shld.sh b/tools/shld.sh index e1dff5f..2a5587c 100755 --- a/tools/shld.sh +++ b/tools/shld.sh @@ -19,10 +19,10 @@ set -u -VERSION='0.1.0' +VERSION='0.2.0' output='out.sh' -make_executable=true +make_executable=false interpreter='/bin/sh' entry_point='main' @@ -101,10 +101,10 @@ help() Options: -h Display this information -V Display linker version information - -I <interp> Use <interp> as the interpreter for your program, instead of the - default of "/bin/sh" - -e <entry> Use <entry> as the function for beginning execution of your - program, instead of the default of "main" + -I <interp> Make an executable and use <interp> as the interpreter for your + program, instead of the default of "/bin/sh" + -e <entry> Make an executable and use <entry> as the function for beginning + execution of your program, instead of the default of "main" -o <output> Use <output> as the name of the program produced by shld, instead of the default of "out.sh" EOF @@ -135,9 +135,11 @@ main() ;; 'I') interpreter="${OPTARG}" + make_executable=true ;; 'e') entry_point="${OPTARG}" + make_executable=true ;; 'o') output="${OPTARG}" |