mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Uppercase metavats for DATE
This commit is contained in:
parent
6ed607acc5
commit
93a766c418
1 changed files with 2 additions and 2 deletions
4
jrnl.py
4
jrnl.py
|
@ -204,8 +204,8 @@ if __name__ == "__main__":
|
||||||
composing.add_argument('text', metavar='text', nargs="*", help='Log entry')
|
composing.add_argument('text', metavar='text', nargs="*", help='Log entry')
|
||||||
|
|
||||||
reading = parser.add_argument_group('Reading', 'Specifying either of these parameters will display posts of your journal')
|
reading = parser.add_argument_group('Reading', 'Specifying either of these parameters will display posts of your journal')
|
||||||
reading.add_argument('-from', dest='start_date', metavar="date", help='View entries after this date')
|
reading.add_argument('-from', dest='start_date', metavar="DATE", help='View entries after this date')
|
||||||
reading.add_argument('-to', dest='end_date', metavar="date", help='View entries before this date')
|
reading.add_argument('-to', dest='end_date', metavar="DATE", help='View entries before this date')
|
||||||
reading.add_argument('-and', dest='strict', action="store_true", help='Filter by tags using AND (default: OR)')
|
reading.add_argument('-and', dest='strict', action="store_true", help='Filter by tags using AND (default: OR)')
|
||||||
reading.add_argument('-n', dest='limit', default=None, metavar="N", help='Shows the last n entries matching the filter', nargs="?", type=int)
|
reading.add_argument('-n', dest='limit', default=None, metavar="N", help='Shows the last n entries matching the filter', nargs="?", type=int)
|
||||||
reading.add_argument('-json', dest='json', action="store_true", help='Returns a JSON-encoded version of the Journal')
|
reading.add_argument('-json', dest='json', action="store_true", help='Returns a JSON-encoded version of the Journal')
|
||||||
|
|
Loading…
Add table
Reference in a new issue