From 34ea31bb014116c3235b04997d5b6e6bfac8199b Mon Sep 17 00:00:00 2001
From: hniksic <devnull@localhost>
Date: Tue, 7 Nov 2000 03:43:36 -0800
Subject: [PATCH] [svn] Sort commands[].

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

diff --git a/src/ChangeLog b/src/ChangeLog
index 97be722e..ab60506e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2000-11-06  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+	* init.c: commands[] need to be sorted!  ("base" wasn't.)
+
 2000-11-05  Hrvoje Niksic  <hniksic@arsdigita.com>
 
 	* wget.h (DO_REALLOC_FROM_ALLOCA): Use braces to disambiguate
diff --git a/src/init.c b/src/init.c
index cfc1a7f0..f96f41b9 100644
--- a/src/init.c
+++ b/src/init.c
@@ -95,8 +95,8 @@ static struct {
   { "background",	&opt.background,	cmd_boolean },
   { "backupconverted",	&opt.backup_converted,	cmd_boolean },
   { "backups",		&opt.backups,		cmd_number },
-  { "bindaddress",	&opt.bind_address,	cmd_address },
   { "base",		&opt.base_href,		cmd_string },
+  { "bindaddress",	&opt.bind_address,	cmd_address },
   { "cache",		&opt.proxy_cache,	cmd_boolean },
   { "continue",		&opt.always_rest,	cmd_boolean },
   { "convertlinks",	&opt.convert_links,	cmd_boolean },