" -v show version\n"
" -s 00:01:02:03:04:05 create seed from MAC address\n"
" -t [00000000] seconds since 1970-01-01 (defaults to NOW) \n"
- " -p [SEED] generate password (with optional seed)\n\n"
- " E.g. -s 01:02:03:04:05 \n"
- " -s 01:02:03:04:05 -p\n"
- " -p 000000030405\n"
+ " -p [SEED] generate password (with optional seed)\n"
+ " -h show additional help\n"
"\n"
"%s",
verbose ? help : ""
opt_seed = opt_pass = opt_ts = 0;
strncpy(timestamp, "00000000", TIMESTAMP_SIZE + 1);
+ fprintf(stderr, "%s\nVersion: %0.2f\n%s\n", title, VERSION, copyright);
+
for (arg = 1; arg < (unsigned) argc; ++arg) {
size_t arg_len = strlen(argv[arg]);
case 't':
opt_ts = 1;
break;
+ case 'h':
+ pr_usage(1);
+ exit(0);
case 'v':
fprintf(stderr, "Version: %0.2f\n", VERSION);
}