X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=funcs%2Fgsu;h=b873ad9386b872f4a98bdd731a1d8495b04e06c0;hb=7eff3dc75f0059537b5ae6013ee4dc5511c86c32;hp=448d551180ee0dee11896ac23746f7704186f9ad;hpb=1c4294ef07f7bfed67bce248a7598fae3eaeb4e2;p=gsu.git diff --git a/funcs/gsu b/funcs/gsu index 448d551..b873ad9 100644 --- a/funcs/gsu +++ b/funcs/gsu @@ -1,6 +1,6 @@ #!/bin/bash # gsu -- the global subcommand utility -# (C) 2006-2009 Andre Noll +# (C) 2006-2010 Andre Noll _gsu_init_errors() { @@ -8,15 +8,12 @@ _gsu_init_errors() GSU_SUCCESS success E_GSU_BAD_COMMAND invalid command E_GSU_NOT_A_NUMBER not a number -E_GSU_SOURCE error in config file -E_GSU_CONFIG bad/missing config file option E_GSU_BAD_CONFIG_VAR invalid config variable E_GSU_NEED_VALUE value required but not given E_GSU_BAD_BOOL bad value for boolian option E_GSU_BAD_OPTION_TYPE invalid option type E_GSU_BAD_ARG_COUNT invalid number of arguments E_GSU_EDITOR failed to execute editor -E_NO_DEFAULT missing default value $gsu_errors " local a b i=0