Changeset 14


Ignore:
Timestamp:
06/04/05 16:54:26 (20 years ago)
Author:
tim
Message:

Tweaked main Makefile.

Cleaned up command line options & documentation for them.

Added a references document.

Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r13 r14  
    3535        #XXX: This should be more generalized. 
    3636        #     Possibly move it to doc/Makefile
    37         cp -s $(DOC_PREFIX)/man/man1/*  $(MAN_PREFIX)/man1
     37        cp -sf $(DOC_PREFIX)/man/man1/*  $(MAN_PREFIX)/man1
    3838
    3939
  • doc/reglookup.txt

    r9 r14  
    2121                registry path will be output.
    2222
    23         -k      TODO
    24 
    25         -p      TODO
    26 
    27         -s      TODO
     23        -s      Print security descriptors as well as keys/values/data.
     24                (This feature's output is not standardized, and probably
     25                contains bugs.)
    2826       
    2927        -t<TYPE_FILTER>
  • src/reglookup.c

    r8 r14  
    21622162{
    21632163  fprintf(stderr, "Usage: readreg [-f<PREFIX_FILTER>] [-t<TYPE_FILTER>] "
    2164                   "[-v] [-p] [-k] [-s] <REGISTRY_FILE>\n");
     2164                  "[-v] [-s] <REGISTRY_FILE>\n");
    21652165  /* XXX: replace version string with Subversion tag? */
    21662166  fprintf(stderr, "Version: 0.1\n");
     
    21912191   */
    21922192
    2193   while ((opt = getopt(argc, argv, "svkf:t:o:c:")) != EOF)
     2193  while ((opt = getopt(argc, argv, "svf:t:o:c:")) != EOF)
    21942194  {
    21952195    switch (opt)
     
    22092209    case 's':
    22102210      print_security++;
    2211       full_print++;
     2211      /*full_print++;*/
    22122212      regf_opt++;
    22132213      break;
     
    22152215    case 'v':
    22162216      verbose++;
    2217       regf_opt++;
    2218       break;
    2219 
    2220     case 'k':
    22212217      regf_opt++;
    22222218      break;
Note: See TracChangeset for help on using the changeset viewer.