From: Philipp Gesang Date: Fri, 1 Dec 2017 11:40:05 +0000 (+0100) Subject: improve description of cnfvar.py command line usage X-Git-Tag: v1.2~10^2~5 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=bf80448a7d0f2574f5726c568cee2c4b407b3fb2;p=pyi2ncommon improve description of cnfvar.py command line usage Try it out: $ ssh some-intranator '/usr/intranator/bin/get_cnf' |python3 src/cnfvar.py - --- diff --git a/src/cnfvar.py b/src/cnfvar.py index 04e97b2..58d078b 100644 --- a/src/cnfvar.py +++ b/src/cnfvar.py @@ -34,9 +34,10 @@ contents This module provides read and write functionality for the Intra2net *CNF* format. Two different syntaxes are available: classical *CNF* and a JSON representation. Both versions are commonly understood by Intra2net software. -For example, the :: - # get_cnf routing 2 +On the command line, raw CNF is accepted if the option ``-`` is given: :: + + $ get_cnf routing 2 |python3 cnfvar.py - <