aboutsummaryrefslogtreecommitdiff
path: root/docs/source/man/lesana-edit.rst
blob: 75bcaeb8a093d840d3ed083c318017d9807db83e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
===========
lesana-edit
===========

------------------------------
edits an existing lesana entry
------------------------------

:Author: valhalla@trueelena.org
:Manual section: 1

SYNOPSIS
========

lesana edit [--help] [--collection <collection>] [--no-git] <entry>

DESCRIPTION
===========

Lesana edit will open an existing entry (specified by id or partial id)
in an editor, so that it can be changed.

If the collection is configured to use git, after the editor has been
closed, it will add the file to the git staging area, unless
``--no-git`` is given.

OPTIONS
=======

-h, --help
   Prints an help message and exits.
--collection COLLECTION, -c COLLECTION
   The collection to work on. Default is ``.``
--no-git
   Don't add the new entry to git.