Skip to content

Commit

Permalink
Make 'openstack-service help' pull up man page
Browse files Browse the repository at this point in the history
Signed-off-by: Lon Hohberger <lhh@redhat.com>
  • Loading branch information
lhh committed Jan 4, 2016
1 parent d861259 commit 8aed0bd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions utils/openstack-service
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ run_action() {
fi
}

# Non-LSB actions
case $action in
help)
man $(basename $0)
exit $?
;;
esac

# Generate a list of services and either print the list on stdout for "list"
# or use the "service" command to perform the requested action on each of
# the services.
Expand Down

0 comments on commit 8aed0bd

Please sign in to comment.