From c2a5b57cb40ea08fa13ec7d1591881d4b19bab1e Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 22 Mar 2020 18:12:09 +0300 Subject: [PATCH] Mention --browse --- doc/news.rst | 3 ++- pyderasn.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/news.rst b/doc/news.rst index 9444ed5..10befb1 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -11,7 +11,8 @@ News * ``hexdump()`` (``hexdump -C`` like output) and ``ascii_visualize()`` (visualize ASCII printable characters, like in ``hexdump -C``) pretty printing functions appeared -* Experimental ASN.1 interactive terminal browser. +* Experimental ASN.1 interactive terminal browser (``--browse`` and + ``pyderasn.browse``). You will need `urwid package `__ to use it .. _release7.3: diff --git a/pyderasn.py b/pyderasn.py index 4a1244c..a4b7deb 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -7486,6 +7486,8 @@ def browse(raw, obj, oid_maps=()): If you press **d**, then current element will be saved in the current directory under its decode path name (adding ".0", ".1", etc suffix if such file already exists). **D** will save it with explicit tag. + + You can also invoke it with ``--browse`` command line argument. """ from copy import deepcopy from os.path import exists as path_exists -- 2.44.0