diff options
author | Stef Walter <stef@memberwebs.com> | 2004-08-18 17:04:25 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-08-18 17:04:25 +0000 |
commit | 6a266925a8d2ee43759fb00dd2e96fa81eebc1d6 (patch) | |
tree | bc81bafa4da38f46d127487bf63b9d7ae84219b1 /tools/mkha1.c | |
parent | 7836171355b8b4c0c585857bde528f1188af2af5 (diff) |
'batch' mode instead of 'delimited'
Diffstat (limited to 'tools/mkha1.c')
-rw-r--r-- | tools/mkha1.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/mkha1.c b/tools/mkha1.c index 5ac3fd3..b42ec2f 100644 --- a/tools/mkha1.c +++ b/tools/mkha1.c @@ -27,17 +27,17 @@ int main(int argc, char* argv[]) char* user = NULL; char* realm = NULL; char* password = NULL; - int delimited = 0; + int batch = 0; int simple = 0; ha_buffer_t buf; int ch; - while((ch = getopt(argc, argv, "dp:r:su:")) != -1) + while((ch = getopt(argc, argv, "bp:r:su:")) != -1) { switch(ch) { - case 'd': - delimited = 1; + case 'b': + batch = 1; break; case 'p': password = optarg; @@ -66,7 +66,7 @@ int main(int argc, char* argv[]) ha_bufinit(&buf); - if(delimited) + if(batch) { process_file(&buf, simple, 0); } |