diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-18 16:40:11 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-18 16:40:11 +0100 |
commit | 08faa188dfabb9db06f835a7034874569c8919fb (patch) | |
tree | a0ad7aee77e280d376e5acd65b7dfe087e002d28 /src/aif.sh | |
parent | 4fe068cf41149b5eb52f12fb1c063cab8ecb1169 (diff) | |
parent | a988d7e0ff9fd1b20a3d51695500f91e5dcee594 (diff) |
Merge branch 'master' into experimental
Diffstat (limited to 'src/aif.sh')
-rwxr-xr-x | src/aif.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -271,6 +271,12 @@ module= procedure= +# TODO: you cannot override $var_OPTS_STRING, nor process_args. because profile not sourced yet +# we will hit '?)' and exit 5 +# solutions? don't make $var_OPTS_STRING overridable, source correct profile as early as possible so process_args gets known. remove the '?)' catchall (eg put it in the default process_args) so we don't hit it accidentially +# in that case -p needs to be the first option, but that's doable imho +# an alternative would be to provide an argumentstring for the profile. eg aif -p profile -a "-a a -b b -c c" + var_OPTS_STRING=":i:dlp:" # you can override this variable in your procedure. while getopts $var_OPTS_STRING OPTION do |