Skip to content

Commit

Permalink
Move specific host settings to the correct argument group
Browse files Browse the repository at this point in the history
  • Loading branch information
fkantelberg committed Jan 16, 2025
1 parent cf0d0af commit d7a92bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mail_devel/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def parse(cls, args: list[str] | None = None) -> argparse.Namespace:
)

group = parser.add_argument_group("IMAP")
parser.add_argument(
group.add_argument(
"--imap-host",
default=False,
help="Overrules the IP binding specifically for IMAP",
Expand All @@ -224,7 +224,7 @@ def parse(cls, args: list[str] | None = None) -> argparse.Namespace:
)

group = parser.add_argument_group("HTTP")
parser.add_argument(
group.add_argument(
"--http-host",
default=False,
help="Overrules the IP binding specifically for HTTP",
Expand Down Expand Up @@ -260,7 +260,7 @@ def parse(cls, args: list[str] | None = None) -> argparse.Namespace:
)

group = parser.add_argument_group("SMTP")
parser.add_argument(
group.add_argument(
"--smtp-host",
default=False,
help="Overrules the IP binding specifically for smtp",
Expand Down

0 comments on commit d7a92bf

Please sign in to comment.