mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
rename parse_args.py to args.py to make room for more args functions
This commit is contained in:
parent
54bcfddd3c
commit
d27abad4ff
3 changed files with 4 additions and 2 deletions
|
@ -15,6 +15,8 @@ from .plugins import util
|
|||
|
||||
|
||||
class WrappingFormatter(argparse.RawTextHelpFormatter):
|
||||
"""Used in help screen"""
|
||||
|
||||
def _split_lines(self, text, width):
|
||||
text = text.split("\n\n")
|
||||
text = map(lambda t: self._whitespace_matcher.sub(" ", t).strip(), text)
|
|
@ -20,7 +20,7 @@ import logging
|
|||
import sys
|
||||
|
||||
from .jrnl import run
|
||||
from .parse_args import parse_args
|
||||
from .args import parse_args
|
||||
|
||||
|
||||
def configure_logger(debug=False):
|
||||
|
|
|
@ -2,7 +2,7 @@ import shlex
|
|||
|
||||
import pytest
|
||||
|
||||
from jrnl.parse_args import parse_args
|
||||
from jrnl.args import parse_args
|
||||
|
||||
|
||||
def cli_as_dict(str):
|
||||
|
|
Loading…
Add table
Reference in a new issue