summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Biebl <mbiebl@gmail.com>2008-02-16 10:19:40 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-02-16 10:19:40 -0600
commit2b99001c87461df573cf6ae3091f88e193ede23a (patch)
tree666769c517fa442ec7ab9744076121df263668bc /src
parent03a59b39d415366cb7068886f103db8fa6ef6aac (diff)
99video had a missing closing bracket.
While fixing that I noticed that we use an inconsistent style for function brackets. I chose foo() { } as it seemed to be the most used one. Cheers, Michael
Diffstat (limited to 'src')
-rw-r--r--src/pm-action.in3
-rw-r--r--src/pm-is-supported.in3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/pm-action.in b/src/pm-action.in
index 5694651..0987102 100644
--- a/src/pm-action.in
+++ b/src/pm-action.in
@@ -26,7 +26,8 @@
# The rule here? Simplicity.
-help_options() {
+help_options()
+{
echo "${0##*/} [options]"
echo
echo "Options can change how the supend or hibernate is done."
diff --git a/src/pm-is-supported.in b/src/pm-is-supported.in
index 62947f7..9e72f9f 100644
--- a/src/pm-is-supported.in
+++ b/src/pm-is-supported.in
@@ -18,7 +18,8 @@
. "@PM-UTILS-LIBDIR@/functions"
-help_options() {
+help_options()
+{
echo "pm-is-supported [--suspend | --hibernate | --suspend-hybrid ]"
echo
}