From ebf8ff90d510acf614c13b1d9add517c6a0d4f7e Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 1 Jul 2009 14:40:42 +0000 Subject: [PATCH] 2009-07-01 Tatsuhiro Tsujikawa Don't print "No files to download." message if -S is given. * src/main.cc --- ChangeLog | 5 +++++ src/main.cc | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6182f46b..bff23b91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-01 Tatsuhiro Tsujikawa + + Don't print "No files to download." message if -S is given. + * src/main.cc + 2009-07-01 Tatsuhiro Tsujikawa Set referer and method to newly created Request object. diff --git a/src/main.cc b/src/main.cc index 5b990c63..2cfd78be 100644 --- a/src/main.cc +++ b/src/main.cc @@ -236,6 +236,7 @@ downloadresultcode::RESULT main(int argc, char* argv[]) #if defined ENABLE_BITTORRENT || defined ENABLE_METALINK } else if(op->get(PREF_SHOW_FILES) == V_TRUE) { showFiles(args, op); + return exitStatus; #endif // ENABLE_METALINK || ENABLE_METALINK } else { createRequestGroupForUri(requestGroups, op, args);