From dbc01ae7058c69e4d4ad9d0aa34b8b27ce918ead Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Fri, 17 Dec 2004 21:07:23 +0000 Subject: bug fix for argument parsing --- cpp/src/IcePack/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/IcePack/Client.cpp') diff --git a/cpp/src/IcePack/Client.cpp b/cpp/src/IcePack/Client.cpp index af13f9c42d7..83c06679c20 100644 --- a/cpp/src/IcePack/Client.cpp +++ b/cpp/src/IcePack/Client.cpp @@ -161,7 +161,7 @@ Client::run(int argc, char* argv[]) int status = EXIT_SUCCESS; - if(argc < 2) // No files given + if(args.empty()) // No files given { if(!commands.empty()) // Commands were given { -- cgit v1.2.3