Grammalecte  Check-in [e1fe7480f9]

Overview
Comment:[cli] wrong option tag
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | cli
Files: files | file ages | folders
SHA3-256: e1fe7480f94d921bc285c10fce5bb42c4ff16bedbc76e45252ee1fce5a15938d
User & Date: olr on 2017-05-20 05:58:56
Other Links: manifest | tags
Context
2017-05-20
07:17
[fr] pt: moule à qqch check-in: 577dd48631 user: olr tags: trunk, fr
05:58
[cli] wrong option tag check-in: e1fe7480f9 user: olr tags: trunk, cli
05:58
[fr] nouvelle règle: bien comme adverbe check-in: a42ca043d1 user: olr tags: trunk, fr
Changes

Modified cli.py from [844acbe744] to [39244ea849].

221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
                xArgs.debug = not(xArgs.debug)
                echo("debug mode on"  if xArgs.debug  else "debug mode off")
            elif sText == "/textformatter" or sText == "/tf":
                xArgs.textformatter = not(xArgs.textformatter)
                echo("textformatter on"  if xArgs.debug  else "textformatter off")
            elif sText == "/help" or sText == "/h":
                echo(_HELP)
            elif sText == "/lopt" or sText == "/l":
                gce.displayOptions("fr")
            elif sText.startswith("/lr"):
                sText = sText.strip()
                sFilter = sText[sText.find(" "):].strip()  if sText != "/lr" and sText != "/rules"  else None
                gce.displayRules(sFilter)
            elif sText == "/quit" or sText == "/q":
                break







|







221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
                xArgs.debug = not(xArgs.debug)
                echo("debug mode on"  if xArgs.debug  else "debug mode off")
            elif sText == "/textformatter" or sText == "/tf":
                xArgs.textformatter = not(xArgs.textformatter)
                echo("textformatter on"  if xArgs.debug  else "textformatter off")
            elif sText == "/help" or sText == "/h":
                echo(_HELP)
            elif sText == "/lopt" or sText == "/lo":
                gce.displayOptions("fr")
            elif sText.startswith("/lr"):
                sText = sText.strip()
                sFilter = sText[sText.find(" "):].strip()  if sText != "/lr" and sText != "/rules"  else None
                gce.displayRules(sFilter)
            elif sText == "/quit" or sText == "/q":
                break