From 822000cb701c25ca4fbd112cacf80344777ad0a1 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Sat, 18 Jan 2020 17:26:18 +0100 Subject: [PATCH] Fixes in documentation --- python/obitools3/apps/optiongroups/__init__.py | 2 +- python/obitools3/commands/grep.pyx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/python/obitools3/apps/optiongroups/__init__.py b/python/obitools3/apps/optiongroups/__init__.py index 2e4cf69..013ca8c 100755 --- a/python/obitools3/apps/optiongroups/__init__.py +++ b/python/obitools3/apps/optiongroups/__init__.py @@ -222,7 +222,7 @@ def __addDMSOutputOption(optionManager): group.add_argument('--no-create-dms', action="store_true", dest="obi:nocreatedms", default=False, - help="Don't create an output DMS it does not already exist") + help="Don't create an output DMS if it does not already exist") def __addEltLimitOption(optionManager): diff --git a/python/obitools3/commands/grep.pyx b/python/obitools3/commands/grep.pyx index 5389c01..ab366c7 100644 --- a/python/obitools3/commands/grep.pyx +++ b/python/obitools3/commands/grep.pyx @@ -36,14 +36,13 @@ def addOptions(parser): metavar="", default=[], type=str, - help="Warning: use bytes for character strings (b'text' instead of 'text'). " - "Python boolean expression to be evaluated in the " + help="Python boolean expression to be evaluated in the " "sequence/line context. The attribute name can be " "used in the expression as a variable name. " "An extra variable named 'sequence' or 'line' refers " "to the sequence or line object itself. " "Several -p options can be used on the same " - "commande line.") + "command line.") group.add_argument("-S", "--sequence", action="store", dest="grep:seq_pattern",