From 2b99001c87461df573cf6ae3091f88e193ede23a Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 16 Feb 2008 10:19:40 -0600 Subject: 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 --- src/pm-action.in | 3 ++- src/pm-is-supported.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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 } -- cgit v1.2.3