DEB uncrustify: fixed usage message.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 4 years ago
parent 243aa916cf
commit cb0c4615f7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -0,0 +1,51 @@
Fixed usage message to match uncrustify-trinity.
--- a/src/uncrustify.cpp
+++ b/src/uncrustify.cpp
@@ -309,14 +309,14 @@
" --decode : Decode remaining args (chunk flags) and exit.\n"
"\n"
"Usage Examples\n"
- "cat foo.d | uncrustify -q -c my.cfg -l d\n"
- "uncrustify -c my.cfg -f foo.d\n"
- "uncrustify -c my.cfg -f foo.d -L0-2,20-23,51\n"
- "uncrustify -c my.cfg -f foo.d -o foo.d\n"
- "uncrustify -c my.cfg foo.d\n"
- "uncrustify -c my.cfg --replace foo.d\n"
- "uncrustify -c my.cfg --no-backup foo.d\n"
- "uncrustify -c my.cfg --prefix=out -F files.txt\n"
+ "cat foo.d | uncrustify-trinity -q -c my.cfg -l d\n"
+ "uncrustify-trinity -c my.cfg -f foo.d\n"
+ "uncrustify-trinity -c my.cfg -f foo.d -L0-2,20-23,51\n"
+ "uncrustify-trinity -c my.cfg -f foo.d -o foo.d\n"
+ "uncrustify-trinity -c my.cfg foo.d\n"
+ "uncrustify-trinity -c my.cfg --replace foo.d\n"
+ "uncrustify-trinity -c my.cfg --no-backup foo.d\n"
+ "uncrustify-trinity -c my.cfg --prefix=out -F files.txt\n"
"\n"
"Note: Use comments containing ' *INDENT-OFF*' and ' *INDENT-ON*' to disable\n"
" processing of parts of the source file (these can be overridden with\n"
--- a/tests/cli/output/help.txt
+++ b/tests/cli/output/help.txt
@@ -60,14 +60,14 @@
--decode : Decode remaining args (chunk flags) and exit.
Usage Examples
-cat foo.d | uncrustify -q -c my.cfg -l d
-uncrustify -c my.cfg -f foo.d
-uncrustify -c my.cfg -f foo.d -L0-2,20-23,51
-uncrustify -c my.cfg -f foo.d -o foo.d
-uncrustify -c my.cfg foo.d
-uncrustify -c my.cfg --replace foo.d
-uncrustify -c my.cfg --no-backup foo.d
-uncrustify -c my.cfg --prefix=out -F files.txt
+cat foo.d | uncrustify-trinity -q -c my.cfg -l d
+uncrustify-trinity -c my.cfg -f foo.d
+uncrustify-trinity -c my.cfg -f foo.d -L0-2,20-23,51
+uncrustify-trinity -c my.cfg -f foo.d -o foo.d
+uncrustify-trinity -c my.cfg foo.d
+uncrustify-trinity -c my.cfg --replace foo.d
+uncrustify-trinity -c my.cfg --no-backup foo.d
+uncrustify-trinity -c my.cfg --prefix=out -F files.txt
Note: Use comments containing ' *INDENT-OFF*' and ' *INDENT-ON*' to disable
processing of parts of the source file (these can be overridden with

@ -1,3 +1,4 @@
001_docs-remove-remote-images.patch
002_trinity_customization.diff
003_allow_older_distributions.diff
004_fixed_usage.diff

Loading…
Cancel
Save