diff options
author | axel <axel@liljencrantz.se> | 2005-12-04 02:43:56 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-12-04 02:43:56 +1000 |
commit | 9b4c34aa4c95a8d2c6703b7c04443f82f086d359 (patch) | |
tree | 5ce8bb90b506499cf511c1d84d356d91b6131b7b /wgetopt.h | |
parent | e2ebc0e443d773fc0bc2cb0958bc3cf721717969 (diff) |
Use csh-style error rules with wildcards, i.e. if no matches are found, the command is not executed
darcs-hash:20051203164356-ac50b-1b1818db2698eab9ae765a5af1e259bce3ab37e7.gz
Diffstat (limited to 'wgetopt.h')
-rw-r--r-- | wgetopt.h | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -7,12 +7,18 @@ internal commands use wide characters and hence this library is useful. - If you want to use this version of getopt in your program, simply - copy wgetopt.c and wgetopt.h into your program, include wgetopt.h, - and use all the regular getopt functions, prefixing every - function, global variable and structure with a 'w', and use only - wide character strings. There are no other functional changes in - this version of getopt besides using wide character strings. + If you want to use this version of getopt in your program, + download the fish sourcecode, available at <a + href='http://roo.no-ip.org/fish/'>the fish homepage</a>. Extract + the sourcode, copy wgetopt.c and wgetopt.h into your program + directory, include wgetopt.h in your program, and use all the + regular getopt functions, prefixing every function, global + variable and structure with a 'w', and use only wide character + strings. There are no other functional changes in this version of + getopt besides using wide character strings. + + For examples of how to use wgetopt, see the fish builtin + functions, many of which are defined in builtin.c. */ |