astyle: update to 3.4.8 (#9530)

This commit is contained in:
augiedoggie
2023-09-26 12:49:13 -06:00
committed by GitHub
parent e4034bb87c
commit 0962f15500
3 changed files with 36 additions and 66 deletions

View File

@@ -0,0 +1,22 @@
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