From bf80448a7d0f2574f5726c568cee2c4b407b3fb2 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Fri, 1 Dec 2017 12:40:05 +0100 Subject: [PATCH] improve description of cnfvar.py command line usage Try it out: $ ssh some-intranator '/usr/intranator/bin/get_cnf' |python3 src/cnfvar.py - --- src/cnfvar.py | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) 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 - <