From: Sergey Matveev Date: Sun, 22 Mar 2020 15:12:09 +0000 (+0300) Subject: Mention --browse X-Git-Tag: 7.5~1 X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=commitdiff_plain;h=c2a5b57cb40ea08fa13ec7d1591881d4b19bab1e Mention --browse --- 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