Ignore:
Timestamp:
11/15/09 21:02:31 (3 years ago)
Author:
eagle
Message:

manpage updated, Makefile changed to create 'gcat' symlink

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/garlicat/src/ocat.c

    r528 r529  
    241241   init_setup(); 
    242242 
    243    if (argc < 2) 
    244       usage(argv[0]), exit(1); 
    245  
    246243   while ((c = getopt(argc, argv, "abBCd:f:hrRiIopl:t:T:s:u:4L:P:")) != -1) 
    247244      switch (c) 
     
    352349   snprintf(def, 100, "127.0.0.1:%d", NDESC(listen_port)); 
    353350   post_init_setup(); 
     351 
     352   // usage output must be after mode detection (Tor/I2P) 
     353   if (argc < 2) 
     354      usage(argv[0]), exit(1); 
    354355 
    355356   if (!CNF(rand_addr) && !argv[optind]) 
     
    413414 
    414415   log_msg(LOG_INFO, "%s", CNF(version)); 
    415    log_msg(LOG_INFO, "OC is running in %s mode", CNF(net_type) == NTYPE_I2P ? "GarliCat (I2P)" : "OnionCat (Tor)"); 
    416416 
    417417#if 0 
Note: See TracChangeset for help on using the changeset viewer.