diff options
author | Michael Biebl <mbiebl@gmail.com> | 2008-02-16 10:19:40 -0600 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-02-16 10:19:40 -0600 |
commit | 2b99001c87461df573cf6ae3091f88e193ede23a (patch) | |
tree | 666769c517fa442ec7ab9744076121df263668bc /src | |
parent | 03a59b39d415366cb7068886f103db8fa6ef6aac (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.in | 3 | ||||
-rw-r--r-- | src/pm-is-supported.in | 3 |
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 } |