Commit c1709d50 authored by ale's avatar ale
Browse files

Update docs now that flags are subcommands

parent 5a44cfe2
Pipeline #4597 passed with stages
in 5 minutes and 28 seconds
......@@ -59,13 +59,13 @@ control this with the (mandatory) option `--book-dir`.
To index a local ebook collection, run the following command:
$ liber --book-dir=/path/to/ebooks --update
$ liber --book-dir=/path/to/ebooks update
The tool will attempt to identify books on Google Books. It is
possible that more than one match is found, in which case `liber` will
open a dialog box to ask you interactively to pick the right match.
You can run `liber --update` as many times as you like (for example
You can run `liber update` as many times as you like (for example
whenever you add an ebook to your collection), it will automatically
detect new files and files that have been removed.
......@@ -80,7 +80,7 @@ images, and it will not perform remote searches for book metadata.
You can search the index from the command line, for example:
$ liber --search "Das Kapital"
$ liber search "Das Kapital"
This will print a list of documents that match the query. For the full
query syntax, see
......@@ -92,14 +92,14 @@ To upload the contents of the local database (including the file
contents themselves) to a remote `liber` server, run the following
$ liber --sync=http://remote.server.address/
$ liber sync=http://remote.server.address/
### Running the HTTP interface
The HTTP interface can be started with:
$ liber --http-server=:3000 --book-dir=/path/to/ebooks
$ liber --book-dir=/path/to/ebooks server
This will start an HTTP server on port 3000, listening on all
interfaces. The HTTP server needs some templates and static content
......@@ -107,4 +107,4 @@ which the Debian package installs in `/usr/share/liber/htdocs`.
The HTTP server will store uploaded files into the directory specified
by `--book-dir`. You should use the same value that you passed to
`liber --update`.
`liber update`.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment