[Pkg-owncloud-commits] [owncloud-client] 125/219: Update owncloudcmd documentation
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 21bbdd6f49dd031daaf102b0f0b3471408426a18
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Thu Sep 18 11:36:02 2014 +0200
Update owncloudcmd documentation
---
doc/owncloudcmd.1.rst | 20 +++++++++++++++++---
doc/owncloudcmd.rst | 27 ++++++++++++++++++++-------
2 files changed, 37 insertions(+), 10 deletions(-)
diff --git a/doc/owncloudcmd.1.rst b/doc/owncloudcmd.1.rst
index e33e519..ac97367 100644
--- a/doc/owncloudcmd.1.rst
+++ b/doc/owncloudcmd.1.rst
@@ -29,12 +29,24 @@ the server URL.
OPTIONS
=======
-``--confdir`` `PATH`
- Specifies the configuration directory where `csync.conf` is located.
+``--user``, ``-u`` ``[user]``
+ Use ``user`` as the login name.
-``--silent``
+``--password``, ``-p`` ``[password]``
+ Use ``password`` as the password.
+
+``-n``
+ Use ``netrc (5)`` for login.
+
+``--non-interactive``
+ Do not prompt for questions.
+
+``--silent``, ``--s``
Inhibits verbose log output.
+``--trust``
+ Trust any SSL certificate, including invalid ones.
+
``--httpproxy http://[user@pass:]<server>:<port>``
Uses ``server`` as HTTP proxy.
@@ -48,6 +60,8 @@ the command line would be::
$HOME/media/music \
https://server/owncloud/remote.php/webdav/Music
+``owncloudcmd`` will enquire user name and password, unless they have
+been specified on the command line or ``-n`` (see `netrc(5)`) has been passed.
Using the legacy scheme, it would be::
diff --git a/doc/owncloudcmd.rst b/doc/owncloudcmd.rst
index 61836c3..cc032a5 100644
--- a/doc/owncloudcmd.rst
+++ b/doc/owncloudcmd.rst
@@ -22,13 +22,25 @@ the server URL.
Other comand line switches supported by owncloudcmd include the following:
-- ``--silent``
- Supresses verbose log output.
+``--user``, ``-u`` ``[user]``
+ Use ``user`` as the login name.
-- ``--confdir`` `PATH`
- Fetches or stores configuration in the specified configuration directory.
+``--password``, ``-p`` ``[password]``
+ Use ``password`` as the password.
-- ``--httpproxy http://[user@pass:]<server>:<port>``
+``-n``
+ Use ``netrc (5)`` for login.
+
+``--non-interactive``
+ Do not prompt for questions.
+
+``--silent``, ``-s``
+ Inhibits verbose log output.
+
+``--trust``
+ Trust any SSL certificate, including invalid ones.
+
+``--httpproxy http://[user@pass:]<server>:<port>``
Uses the specified ``server`` as the HTTP proxy.
Credential Handling
@@ -41,18 +53,19 @@ setting with the usual URL pattern. For example::
https://user:secret@192.168.178.2/remote.php/webdav
-
Example
~~~~~~~
To synchronize the ownCloud directory ``Music`` to the local directory
-``media/music`, through a proxy listening on port ``8080``, and on a gateway
+``media/music``, through a proxy listening on port ``8080``, and on a gateway
machine using IP address ``192.168.178.1``, the command line would be::
$ owncloudcmd --httpproxy http://192.168.178.1:8080 \
$HOME/media/music \
https://server/owncloud/remote.php/webdav/Music
+``owncloudcmd`` will enquire user name and password, unless they have
+been specified on the command line or ``-n`` has been passed.
Using the legacy scheme, the command line would be::
--
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