instrumentation/hrktorrent: rename hrktorrent setting from "noseed" to "seed"
authorP2P-Next <p2p-next@cs.pub.ro>
Fri, 20 Aug 2010 13:06:37 +0000 (16:06 +0300)
committerP2P-Next <p2p-next@cs.pub.ro>
Fri, 20 Aug 2010 13:06:37 +0000 (16:06 +0300)
instrumentation/hrktorrent/main.cpp

index dca85d0..b1a25c5 100644 (file)
@@ -25,7 +25,7 @@ printusage(const char *argv0)
        std::cout << "\t-l, --limitlocal\t\tlimit local network (default: off)\n";
        std::cout << "\t-t, --nodht\t\t\tdisable dht (default: on)\n";
        std::cout << "\t-n, --noupnp\t\t\tdisable upnp (default: on)\n";
-       std::cout << "\t-s, --noseed\t\t\tdisable seeding (default: on)\n";
+       std::cout << "\t-s, --noseed\t\t\tdisable seeding (default: enabled)\n";
        std::cout << "\t-f, --forcereannounce <time>\treannounce every X minutes (default: 2)\n";
        std::cout << "\t-o, --outputdir <path>\t\tset the target directory (default: .)\n";
        std::cout << "\t-i, --ipfilter\t\t\tenable ip filtering (default: off)\n";
@@ -87,7 +87,7 @@ parseargs(int argc, char** argv)
                        Settings->Set("noupnp", 1);
                        break;
                case 's':
-                       Settings->Set("noseed", 1);
+                       Settings->Set("seed", 0);
                        break;
                case 'v':
                        Settings->Set("verbose", 1);