From f43677dce3d83e5873374ab2a4d5a8c535401b0c Mon Sep 17 00:00:00 2001
From: Darshit Shah <darnir@gmail.com>
Date: Sat, 7 Sep 2013 14:41:54 +0530
Subject: [PATCH] Change commandline option to --metalink-file

---
 src/ChangeLog | 5 +++++
 src/main.c    | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index 7e461ee..60c87a6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-06  Darshit Shah  <darnir@gmail.com>
+
+	* main.c (option_data[]): Change option to metalink-file in accordance
+	with the information in the documentation
+
 2013-07-12  Giuseppe Scrivano  <gscrivano@gnu.org>
 
 	* utils.c (run_with_timeout): abort when there are more threads.
diff --git a/src/main.c b/src/main.c
index c89d2a5..202502e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -237,7 +237,7 @@ static struct cmdline_option option_data[] =
     { "local-encoding", 0, OPT_VALUE, "localencoding", -1 },
     { "max-redirect", 0, OPT_VALUE, "maxredirect", -1 },
 #ifdef ENABLE_METALINK
-    { "metalink", 0, OPT_VALUE, "metalink", -1 },
+    { "metalink-file", 0, OPT_VALUE, "metalink", -1 },
 #endif
     { "method", 0, OPT_VALUE, "method", -1 },
     { "mirror", 'm', OPT_BOOLEAN, "mirror", -1 },
-- 
1.8.4

