diff --git a/src/main.cc b/src/main.cc index 7165319b..f1f99944 100644 --- a/src/main.cc +++ b/src/main.cc @@ -392,9 +392,9 @@ int main(int argc, char* argv[]) { torrentFile = string(optarg); break; case 16: - if(string(optarg) == "on") { + if(string(optarg) == "true") { followTorrent = true; - } else if(string(optarg) == "off") { + } else if(string(optarg) == "false") { followTorrent = false; } else { cerr << _("follow-torrent must be either 'true' or 'false'.") << endl;