File: TODO

package info (click to toggle)
gengetopt 2.6-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,048 kB
  • ctags: 473
  • sloc: ansic: 3,614; sh: 431; makefile: 193; yacc: 84; lex: 73; cpp: 32
file content (59 lines) | stat: -rw-r--r-- 1,810 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
This file is licensed to you under the license specified in the included file
`COPYING'. Look there for further details.


SPECIFIC TASKS:

* Implement defaultvalue column in `sample' file.

* Implement argument name. Instead using `-i INT', one could specify that
  `-i lines' will be printed when using `--help' (`-h').

* Reimplement `ARG_SHORT', `ARG_FLOAT', `ARG_LONGDOUBLE' and `ARG_LONGLONG'
  cases in `generate_main' function in `gm.c' in `GENERATE' section.
  Current implementation truncate values! (THIS IS IMPORTANT).

* Implement overflows and underflows checks in `generate_main' function in
  `gm.c' file, in `GENERATE' section.

* Implement `unsignedint', `unsignedshort', `insignedlong' and
  `unsingedlonglong' as argument types. You should work in `generate_main'
  function and `sample', `argsdef.h' and `scanner.lex' files.


GENERAL TASKS:

* Implement `enumerated' argument type.

* Implement `optional' argument.

* Implement `description' sentence in `sample'.

* Reorder option listing in `--help' (`-h') option. Should be: first short
  then long options, listed both by alphabetic order. Short options should be
  listed in the format: `-i INT'.

* Currently, each sentence in input end in the end of line. Implement each
  sentence end in ';', allowing multiline sentences.


FUTURE TASKS:

* Implement `multiple' options. This means: `./myprog --file=file1 --file=file2'
  should work if `file' is an `multiple' option.

* May be make a library (!).


The current maintainer is taking patches. See the file `AUTHORS'.

--------
LORENZO
--------
if configure doesn't find getopt, it should say to the programmer
that we provide getopt.c getopt1.c and getopt.h, which will be installed
in $(prefix)/share/gengetopt

strdup can be handled with autoconf

write texinfo documentation