Changeset 3340

Show
Ignore:
Timestamp:
02/18/08 23:14:58 (16 years ago)
Author:
jerome
Message:

Improved help for filtering expressions.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/commandline.py

    r3339 r3340  
    109109            result.append(formatter.format_heading(_("filtering expressions"))) 
    110110            formatter.indent() 
    111             result.append(formatter.format_description(_("Use the filtering expressions to extract only parts of the datas. Allowed filters are of the form 'key=value'."))) 
     111            result.append(formatter.format_description(_("Use the filtering expressions to extract only parts of the datas. Allowed filters are of the form 'key=value'. Wildcards are not expanded as part of these filtering expressions, so you can't use them here."))) 
    112112            result.append("\n") 
    113113            result.append(formatter.format_heading(_("allowed keys for now"))) 
     
    131131            formatter.dedent()     
    132132            result.append("\n") 
     133            result.append(formatter.format_description(_("'now' and 'today' are not exactly the same since 'today' represents the first or last second of the day depending on if it's used in a 'start=' or 'end=' date expression."))) 
     134            result.append("\n") 
    133135        return "".join(result) 
    134          
    135  
    136   #'now' and 'today' are not exactly the same since today represents the first 
    137   #or last second of the day depending on if it's used in a start= or end= 
    138   #date expression. The utility to be able to specify dates in the future is 
    139   #a question which remains to be answered :-) 
    140   # 
    141   #Contrary to other PyKota management tools, wildcard characters are not  
    142   #expanded, so you can't use them. 
    143136         
    144137    def format_examples(self, formatter=None) :