Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Molkentin <danimo@owncloud.com>2014-10-10 20:03:50 +0400
committerDaniel Molkentin <danimo@owncloud.com>2014-10-10 20:04:00 +0400
commit77d2cba155462a8a34e56aa0093990cd03c5a862 (patch)
treed2ec2891a2edfa92d384d8f5d0f6488323919058 /src/owncloudcmd
parent2149092c7a180b4134e10b75b72386d01a6d53fb (diff)
owncloudcmd: don't prompt for password if it was provided
Diffstat (limited to 'src/owncloudcmd')
-rw-r--r--src/owncloudcmd/owncloudcmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/owncloudcmd/owncloudcmd.cpp b/src/owncloudcmd/owncloudcmd.cpp
index c009d08f3..23e396448 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 {