[packagekit] [PATCH] CodingStyle: add -lp option to indent and fix typos

Murilo Opsfelder Araujo mopsfelder at gmail.com
Thu May 9 18:30:33 PDT 2013


The indent -lp option gives the same effect described in "Overlong lines"
section.

Signed-off-by: Murilo Opsfelder Araujo <mopsfelder at gmail.com>
---
 CodingStyle | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/CodingStyle b/CodingStyle
index edfee01..abd4231 100644
--- a/CodingStyle
+++ b/CodingStyle
@@ -1,6 +1,7 @@
 == Indent ==
 
-Use "indent -kr -i8 -pcs -lps -psl *.c" to convert to "mostly correct" indenting levels.
+Use "indent -kr -i8 -pcs -lp -lps -psl *.c" to convert to "mostly correct"
+indenting levels.
 
 == Tabs ==
 
@@ -8,7 +9,7 @@ Tabs are the size of 8 spaces, and should be used in preference to spaces.
 
 == Overlong lines ==
 
-Functions that are two long for one line are intented with tabs and then 
+Functions that are too long for one line are indented with tabs and then
 spaces to the start of the bracket:
 
 libnotify_event ("HAL does not have PowerManagement capability",
@@ -28,4 +29,3 @@ Braces not-ommitted for single line:
 if (!false) {
 	g_warning ("Cannot find icon");
 }
-
-- 
1.8.1.4



More information about the PackageKit mailing list