/[gnats]/gnats/gnats/gnats-pwconv.c
ViewVC logotype

Diff of /gnats/gnats/gnats-pwconv.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by chewie, Tue Nov 30 15:43:37 2004 UTC revision 1.7 by chewie, Mon Oct 31 05:03:17 2005 UTC
# Line 30  typedef enum _Crypt_Type Crypt_Type; Line 30  typedef enum _Crypt_Type Crypt_Type;
30    
31  #define PROGRAM_NAME "gnats-pwconv"  #define PROGRAM_NAME "gnats-pwconv"
32  const char *program_name = PROGRAM_NAME;  const char *program_name = PROGRAM_NAME;
   
33  /* static const int MAXLINE = 1024; */  /* static const int MAXLINE = 1024; */
34  static const char* const VERSION = "1.0";  static const char* const PROGRAM_VERSION = "1.0";
35    
36  static const char* USAGE[] =  static const char* USAGE[] =
37    {    {
38      "Usage: " PROGRAM_NAME,      "Usage: ", PROGRAM_NAME,
39  #ifdef HAVE_LIBCRYPT  #ifdef HAVE_LIBCRYPT
40      " {-c | -m | -p} INFILE [OUTFILE]\n",      " {-c | -m | -p} INFILE [OUTFILE]\n",
41  #else  #else
# Line 59  static const char* USAGE[] = Line 58  static const char* USAGE[] =
58      NULL      NULL
59    };    };
60    
   
61  /* Print perror MESSAGE, processed through printf with a single argument ARG.  /* Print perror MESSAGE, processed through printf with a single argument ARG.
62   */   */
63  static void  static void
# Line 289  main (int argc, char **argv) Line 287  main (int argc, char **argv)
287            break;            break;
288    
289          case 'V':          case 'V':
290            printf ("%s %s\n", PROGRAM_NAME, VERSION);            printf ("%s %s\n", PROGRAM_NAME, PROGRAM_VERSION);
291            exit (0);            exit (0);
292            break;            break;
293    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26