… | |
… | |
42 | #include "gettext.h" |
42 | #include "gettext.h" |
43 | |
43 | |
44 | #include "conf.h" |
44 | #include "conf.h" |
45 | #include "slog.h" |
45 | #include "slog.h" |
46 | #include "util.h" |
46 | #include "util.h" |
47 | #include "protocol.h" |
47 | #include "vpn.h" |
48 | |
48 | |
49 | /* If nonzero, display usage information and exit. */ |
49 | /* If nonzero, display usage information and exit. */ |
50 | static int show_help; |
50 | static int show_help; |
51 | |
51 | |
52 | /* If nonzero, print the version on standard output and exit. */ |
52 | /* If nonzero, print the version on standard output and exit. */ |
… | |
… | |
294 | |
294 | |
295 | parse_options (argc, argv, envp); |
295 | parse_options (argc, argv, envp); |
296 | |
296 | |
297 | if (show_version) |
297 | if (show_version) |
298 | { |
298 | { |
299 | printf (_("%s version %s (built %s %s, protocol %d:%d)\n"), get_identity (), |
299 | printf (_("%s version %s (built %s %s, protocol %d.%d)\n"), get_identity (), |
300 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); |
300 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); |
301 | printf (_ |
301 | printf (_ |
302 | ("Copyright (C) 2003 Marc Lehmann <vpe@plan9.de> and others.\n" |
302 | ("Copyright (C) 2003 Marc Lehmann <vpe@plan9.de> and others.\n" |
303 | "See the AUTHORS file for a complete list.\n\n" |
303 | "See the AUTHORS file for a complete list.\n\n" |
304 | "vpe comes with ABSOLUTELY NO WARRANTY. This is free software,\n" |
304 | "vpe comes with ABSOLUTELY NO WARRANTY. This is free software,\n" |