gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-util] branch master updated: Remove documentation on talerc


From: gnunet
Subject: [taler-taler-util] branch master updated: Remove documentation on talerconfig.py as a program
Date: Tue, 22 Feb 2022 13:35:57 +0100

This is an automated email from the git hooks/post-receive script.

ttn pushed a commit to branch master
in repository taler-util.

The following commit(s) were added to refs/heads/master by this push:
     new 21cf844  Remove documentation on talerconfig.py as a program
21cf844 is described below

commit 21cf844f395038299b432628425d6777f036828f
Author: Thien-Thi Nguyen <ttn@gnu.org>
AuthorDate: Tue Feb 22 07:35:51 2022 -0500

    Remove documentation on talerconfig.py as a program
    
    * doc/doc.org (class =TalerConfig=, usage as a program): Delete section.
---
 doc/doc.org | 40 ----------------------------------------
 1 file changed, 40 deletions(-)

diff --git a/doc/doc.org b/doc/doc.org
index 980dd4d..3cf5bea 100644
--- a/doc/doc.org
+++ b/doc/doc.org
@@ -444,43 +444,3 @@ in the format:
 
 : [section]
 : option = value # filename & line number pair
-
-*** usage as a program
-
-FIXME: Is this supposed to be documented?
-Seems out of place in a library.
-Maybe it's there only for testing purposes?
-Another idea is to move it to its own utility program.
-
--> Better no, for those reasons:
-1.  Taler has already a CLI config utility (that comes with the exchange): 
taler-config.
-2.  A try to run talerconfig.py gave this (!):
-
-    /tmp/talerconfig.py: line 23: import: command not found
-    /tmp/talerconfig.py: line 24: import: command not found
-    /tmp/talerconfig.py: line 25: import: command not found
-    /tmp/talerconfig.py: line 26: import: command not found
-    /tmp/talerconfig.py: line 27: import: command not found
-    /tmp/talerconfig.py: line 28: import: command not found
-    from: too many arguments
-    /tmp/talerconfig.py: line 31: syntax error near unexpected token `('
-    /tmp/talerconfig.py: line 31: `LOGGER = logging.getLogger(__name__)'
-
-If =talerconfig.py= is invoked from the command-line, it functions
-as a program that displays either a specific value or dumps the entire set,
-depending on the command-line args given.
-
-Options are:
-
-- =-c, --config FILE= :: Read Taler configuration from =FILE=.
-  See =from_file= (above) for behavior if unspecified.
-
-- =-s, --section SECTION= :: Look for option in section =SECTION=.
-
-- =-o, --option OPTION= :: Display value associated with option =OPTION=.
-
-- =-f, --filename= :: If the value is a string, do shell-style
-  variable expansion (see above) on it.
-
-If both =SECTION= and =OPTION= are omitted, display the entire set
-of values using the =dump= method (see above).

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]