Skip to content

Commit

Permalink
Add man page for owncloudcmd
Browse files Browse the repository at this point in the history
Fixes #1234
  • Loading branch information
Daniel Molkentin committed Dec 4, 2013
1 parent 861de89 commit 72b0f4e
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 4 deletions.
2 changes: 2 additions & 0 deletions doc/conf.py.in
Expand Up @@ -215,6 +215,8 @@ latex_documents = [
man_pages = [
('owncloud.1', 'owncloud', u'File synchronisation desktop utility.',
[u'The ownCloud developers'], 1),
('owncloudcmd.1', 'owncloudcmd', u'Command line ownCloud client tool.',
[u'The ownCloud developers'], 1),
]

# If true, show URL addresses after external links.
Expand Down
7 changes: 4 additions & 3 deletions doc/owncloud.1.rst
@@ -1,7 +1,8 @@
:orphan:

owncloud(1)
-----------


SYNOPSIS
========
*owncloud* [`OPTIONS`...]
Expand All @@ -28,10 +29,10 @@ Config File
BUGS
====

Please report bugs at https://github.com/owncloud/core/issues.
Please report bugs at https://github.com/owncloud/mirall/issues.


SEE ALSO
========
`csync(1)`
:manpage:`owncloudcmd(1)`

34 changes: 34 additions & 0 deletions doc/owncloudcmd.1.rst
@@ -0,0 +1,34 @@
:orphan:

owncloudcmd(1)
--------------

SYNOPSIS
========
*owncloudcmd* [`OPTIONS`...] sourcedir owncloudurl

DESCRIPTION
===========
owncloudcmd is the command line tool for the ownCloud file synchronisation
desktop utility, based on mirall.

Contrary to the :manpage:`owncloud(1)` GUI client, `owncloudcmd` will only
perform a single sync run and then exit. It thus replaces the `ocsync` binary
used for the same purpose in earlier releases.

A sync run will sync a single local directory with a WebDAV share on a
remote ownCloud server.

OPTIONS
=======
``--confdir`` `PATH`
The configuration dir where `csync.conf` is located

BUGS
====
Please report bugs at https://github.com/owncloud/mirall/issues.

SEE ALSO
========
:manpage:`owncloud(1)`

2 changes: 1 addition & 1 deletion src/owncloudcmd/owncloudcmd.cpp
Expand Up @@ -62,7 +62,7 @@ void help()
{
std::cout << "owncloudcmd - command line ownCloud client tool." << std::endl;
std::cout << "" << std::endl;
std::cout << "Call owncloudcmd sourcedir owncloudurl" << std::endl;
std::cout << "Usage: owncloudcmd <sourcedir> <owncloudurl>" << std::endl;
std::cout << "" << std::endl;
std::cout << "Options:" << std::endl;
std::cout << " --confdir = configdir: Read config from there." << std::endl;
Expand Down

0 comments on commit 72b0f4e

Please sign in to comment.