Call strip on --subject text.

This commit is contained in:
voussoir 2021-09-16 17:37:38 -07:00
parent e0f37b986c
commit adc99d383e
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -263,9 +263,10 @@ def main_log_context(argv, subject, *args, **kwargs):
def operatornotify_argparse(args):
notify(
subject=pipeable.input(args.subject, split_lines=False),
subject=pipeable.input(args.subject, split_lines=False).strip(),
body=pipeable.input(args.body, split_lines=False),
)
return 0
@vlogging.main_decorator
def main(argv):