mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 13:55:47 +03:00
owncloudcmd: don't prompt for password if it was provided
This commit is contained in:
parent
2149092c7a
commit
77d2cba155
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue