1 | genshellopt - Generate Shell Option Processing Script - Ver. 1 |
---|
2 | USAGE: shell [ -<flag> [<val>] | --<name>[{=| }<val>] ]... |
---|
3 | Flg Arg Option-Name Description |
---|
4 | -o Str script Output Script File |
---|
5 | -s Str shell Shell name (follows "#!" magic) |
---|
6 | - disabled as --no-shell |
---|
7 | - enabled by default |
---|
8 | -v opt version Output version information and exit |
---|
9 | -? no help Display extended usage information and exit |
---|
10 | -! no more-help Extended usage information passed thru pager |
---|
11 | |
---|
12 | Options are specified by doubled hyphens and their name or by a single |
---|
13 | hyphen and the flag character. |
---|
14 | |
---|
15 | Note that ``shell'' is only useful if the output file does not already |
---|
16 | exist. If it does, then the shell name and optional first argument will |
---|
17 | be extracted from the script file. |
---|
18 | |
---|
19 | If the script file already exists and contains Automated Option Processing |
---|
20 | text, the second line of the file through the ending tag will be replaced |
---|
21 | by the newly generated text. The first ``#!'' line will be regenerated. |
---|
22 | |
---|
23 | please send bug reports to: autogen-users@lists.sourceforge.net |
---|
24 | |
---|
25 | = = = = = = = = |
---|
26 | |
---|
27 | This incarnation of genshell will produce |
---|
28 | a shell script to parse the options for test_shell: |
---|
29 | |
---|
30 | test_shell - Test AutoOpts for shell |
---|
31 | USAGE: test_shell [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \ |
---|
32 | reg-arg [ ... ] |
---|
33 | Flg Arg Option-Name Description |
---|
34 | -o Str option The option option descrip |
---|
35 | -s no second The second option descrip |
---|
36 | -? no help Display extended usage information and exit |
---|
37 | -! no more-help Extended usage information passed thru pager |
---|
38 | |
---|
39 | Options are specified by doubled hyphens and their name or by a single |
---|
40 | hyphen and the flag character. |
---|