Files
haikuports/dev-util/astyle/patches/astyle-3.4.8.patchset
2023-09-26 12:49:13 -06:00

23 lines
1.1 KiB
Plaintext

From 5b291ee2b419412d765884b53c82dae50587dd84 Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
Date: Tue, 26 Sep 2023 12:41:04 -0600
Subject: zsh completion fix
diff --git a/sh-completion/astyle.zsh b/sh-completion/astyle.zsh
index b54e86d..20ad9d4 100644
--- a/sh-completion/astyle.zsh
+++ b/sh-completion/astyle.zsh
@@ -54,7 +54,7 @@ _astyle() {
"--remove-comment-prefix[Remove the leading '*' prefix on multi-line comments and indent the comment text one indent]"
"--max-code-length[Break the line if it exceeds more than # characters]: :_files"
"--break-after-logical[After break line using --max-code-length, place logical conditional last on the previous line]"
- "mode[Set input syntax mode]: :(c java cs objc js)"
+ "--mode[Set input syntax mode]: :(c java cs objc js)"
"--pad-method-prefix[Insert space padding after the '-' or '+' Objective-C method prefix]"
"--unpad-method-prefix[Remove all space padding after the '-' or '+' Objective-C method prefix]"
"--pad-return-type[Insert space padding after the Objective-C return type]"
--
2.39.2