summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/mkha1.c10
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);
}