[Pkg-owncloud-commits] [owncloud-client] 119/219: Remove unused confdir option
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:17 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 54eb837950274c8eceb6b8f5eed3aa424214114e
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Thu Sep 18 00:07:33 2014 +0200
Remove unused confdir option
---
src/owncloudcmd/owncloudcmd.cpp | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/owncloudcmd/owncloudcmd.cpp b/src/owncloudcmd/owncloudcmd.cpp
index 3a1525f..f8bb130 100644
--- a/src/owncloudcmd/owncloudcmd.cpp
+++ b/src/owncloudcmd/owncloudcmd.cpp
@@ -123,8 +123,7 @@ void help()
std::cout << std::endl;
std::cout << "Options:" << std::endl;
std::cout << " --silent, -s Don't be so verbose" << std::endl;
- std::cout << " --confdir = configdir: Read config from there." << std::endl;
- std::cout << " --httpproxy = proxy: Specify a http proxy to use." << std::endl;
+ std::cout << " --httpproxy [proxy] Specify a http proxy to use." << std::endl;
std::cout << " Proxy is http://server:port" << std::endl;
std::cout << " --trust Trust the SSL certification." << std::endl;
std::cout << " --exclude [file] exclude list file" << std::endl;
@@ -168,9 +167,7 @@ void parseOptions( const QStringList& app_args, CmdOptions *options )
while(it.hasNext()) {
const QString option = it.next();
- if( option == "--confdir" && !it.peekNext().startsWith("-") ) {
- options->config_directory = it.next();
- } else if( option == "--httpproxy" && !it.peekNext().startsWith("-")) {
+ if( option == "--httpproxy" && !it.peekNext().startsWith("-")) {
options->proxy = it.next();
} else if( option == "-s" || option == "--silent") {
options->silent = true;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list