Changeset 632 for trunk

Show
Ignore:
Timestamp:
12/19/99 12:50:41 (9 years ago)
Author:
graham
Message:

New LP_Usage format

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/console/src/main.cpp

    r588 r632  
    99CLicqConsole *licqConsole; 
    1010 
    11 void LP_Usage(void) 
     11const char *LP_Usage(void) 
    1212{ 
    13   fprintf(stderr, "Licq Plugin: %s %s\n", LP_Name(), LP_Version()); 
    14   fprintf(stderr, "Usage:  Licq [options] -p console\n\n"); 
     13  static const char usage[] = 
     14      "Usage:  Licq [ options ] -p console\n"; 
     15  return usage; 
    1516} 
    1617 
  • trunk/email/src/main.cpp

    r591 r632  
    1010CLicqEmail *licqEmail; 
    1111 
    12 void LP_Usage(void) 
     12const char *LP_Usage(void) 
    1313{ 
    14   fprintf(stderr, "Licq Plugin: %s %s\n", LP_Name(), LP_Version()); 
    15   fprintf(stderr, "Usage:  Licq [options] -p email -- [ -h ] [ -e ] [ -l <staus> ]\n" 
    16                   "         -h          : help\n" 
    17                   "         -e          : start enabled\n" 
    18                   "         -l <status> : log on at startup\n\n"); 
     14  static const char usage[] = 
     15    "Usage:  Licq [options] -p email -- [ -h ] [ -e ] [ -l <staus> ]\n" 
     16    "         -h          : help\n" 
     17    "         -e          : start enabled\n" 
     18    "         -l <status> : log on at startup\n"; 
     19  return usage; 
    1920} 
    2021