From 6a266925a8d2ee43759fb00dd2e96fa81eebc1d6 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 18 Aug 2004 17:04:25 +0000 Subject: 'batch' mode instead of 'delimited' --- tools/mkha1.c | 10 +++++----- 1 file 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); } -- cgit v1.2.3