]> git.madduck.net Git - etc/neomutt.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

buildmimetree.py: require massage -o option
authormartin f. krafft <madduck@madduck.net>
Thu, 24 Aug 2023 13:21:58 +0000 (01:21 +1200)
committermartin f. krafft <madduck@madduck.net>
Thu, 24 Aug 2023 13:21:58 +0000 (01:21 +1200)
.config/neomutt/buildmimetree.py

index 0dd18828c36f1140b1a5086e1fe6eb53cac11cfe..02d668bef2cb4ebbee3b26bf4fc66ee32a030757 100755 (executable)
@@ -101,8 +101,10 @@ def parse_cli_args(*args, **kwargs):
 
     massage_p.add_argument(
         "--write-commands-to",
 
     massage_p.add_argument(
         "--write-commands-to",
+        "-o",
         metavar="PATH",
         dest="cmdpath",
         metavar="PATH",
         dest="cmdpath",
+        required=True,
         help="Temporary file path to write commands to",
     )
 
         help="Temporary file path to write commands to",
     )