[Pkg-owncloud-commits] [owncloud-client] 45/211: owncloudcmd: don't prompt for password if it was provided
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:24 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 77d2cba155462a8a34e56aa0093990cd03c5a862
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Fri Oct 10 18:03:50 2014 +0200
owncloudcmd: don't prompt for password if it was provided
---
src/owncloudcmd/owncloudcmd.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/owncloudcmd/owncloudcmd.cpp b/src/owncloudcmd/owncloudcmd.cpp
index c009d08..23e3964 100644
--- a/src/owncloudcmd/owncloudcmd.cpp
+++ b/src/owncloudcmd/owncloudcmd.cpp
@@ -201,7 +201,7 @@ void parseOptions( const QStringList& app_args, CmdOptions *options )
} else if( (option == "-u" || option == "--user") && !it.peekNext().startsWith("-") ) {
options->user = it.next();
} else if( (option == "-p" || option == "--password") && !it.peekNext().startsWith("-") ) {
- options->user = it.next();
+ options->password = it.next();
} else if( option == "--exclude" && !it.peekNext().startsWith("-") ) {
options->exclude = it.next();
} else {
--
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