Changeset a68f05d


Ignore:
Timestamp:
Dec 6, 2003, 7:40:21 PM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f36222f
Parents:
b20de4f
Message:
Command line arg -D turns on debugging and deletes previous debugging file
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rb20de4f ra68f05d  
    66        Use '+' for popwin corners when 'fancylines' is off
    77        Allow TERMINFO to be overridden in the envrionment
     8        Command line arg -D turns on debugging and deletes previous
     9          debugging file
    810       
    9112.0.13
  • owl.c

    rb20de4f ra68f05d  
    9393    } else if (!strcmp(argv[0], "-d")) {
    9494      debug=1;
     95      argv++;
     96      argc--;
     97    } else if (!strcmp(argv[0], "-D")) {
     98      debug=1;
     99      unlink(OWL_DEBUG_FILE);
    95100      argv++;
    96101      argc--;
     
    623628{
    624629  fprintf(stderr, "Owl version %s\n", OWL_VERSION_STRING);
    625   fprintf(stderr, "Usage: owl [-n] [-d] [-v] [-h] [-c <configfile>] [-t <ttyname>]\n");
     630  fprintf(stderr, "Usage: owl [-n] [-d] [-D] [-v] [-h] [-c <configfile>] [-t <ttyname>]\n");
    626631  fprintf(stderr, "  -n      don't load zephyr subscriptions\n");
    627632  fprintf(stderr, "  -d      enable debugging\n");
     633  fprintf(stderr, "  -D      enable debugging and delete previous debug file\n");
    628634  fprintf(stderr, "  -v      print the Owl version number and exit\n");
    629635  fprintf(stderr, "  -h      print this help message\n");
Note: See TracChangeset for help on using the changeset viewer.