Skip to content

Commit

Permalink
Correct command line usage documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
user committed Jan 23, 2021
1 parent 01c3072 commit 1f036a4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
6 changes: 5 additions & 1 deletion docs/cmd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ enter the following command:
This will create a ``diagram.svg`` file in the same directory. If you
wish to create a file with a different name or in a different
directory, pass the path as a second argument.
directory, use the ``-o`` switch like this:

.. code-block:: console
$ python -m orthogram diagram.yaml -o images/something.svg
The program creates Scalable Vector Graphics (SVG) files. Use your
web browser to view the drawing. Use `Inkscape`_ to convert it to PNG
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Georgios Athanasiou'

# The full version, including alpha/beta/rc tags
release = '0.4.1'
release = '0.4.2'


# -- General configuration ---------------------------------------------------
Expand Down
6 changes: 6 additions & 0 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,9 @@ Release history
* No code changes.
* Updated depedencies.
* Documentation fixes.

0.4.2 (2021-01-23)
------------------

* No code changes.
* Corrected command line usage documentation.
2 changes: 1 addition & 1 deletion orthogram/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.4.1'
__version__ = '0.4.2'

from .build import Builder
from .diagram import DiagramDef
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "orthogram"
version = "0.4.1"
version = "0.4.2"
description = "Draw block diagrams."
license = "GPL-3.0-or-later"
authors = ["Georgios Athanasiou <yorgath@gmail.com>"]
Expand Down

0 comments on commit 1f036a4

Please sign in to comment.