[systemd-devel] [PATCH 2/3] bash-completion: fix whitespace

Lennart Poettering lennart at poettering.net
Fri Sep 21 03:16:54 PDT 2012


On Mon, 17.09.12 19:47, Dave Reisner (dreisner at archlinux.org) wrote:

> Use spaces for indentation instead of tabs.

These two look good to me, please commit (you should have commite access
now, after all, please test!)

> ---
>  bash-completion/systemd-bash-completion.sh | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/bash-completion/systemd-bash-completion.sh b/bash-completion/systemd-bash-completion.sh
> index 39ef165..db5636b 100644
> --- a/bash-completion/systemd-bash-completion.sh
> +++ b/bash-completion/systemd-bash-completion.sh
> @@ -143,16 +143,16 @@ _systemctl () {
>          elif __contains_word "$verb" ${VERBS[STARTABLE_UNITS]}; then
>                  comps=$( __filter_units_by_property CanStart yes \
>                        $( __get_inactive_units \
> -		        | while read -r line; do \
> -		                [[ "$line" =~ \.(device|snapshot)$ ]] || printf "%s\n" "$line"; \
> -		        done ))
> +                        | while read -r line; do \
> +                                [[ "$line" =~ \.(device|snapshot)$ ]] || printf "%s\n" "$line"; \
> +                        done ))
>  
>          elif __contains_word "$verb" ${VERBS[RESTARTABLE_UNITS]}; then
>                  comps=$( __filter_units_by_property CanStart yes \
>                        $( __get_all_units \
> -		        | while read -r line; do \
> -		                [[ "$line" =~ \.(device|snapshot|socket|timer)$ ]] || printf "%s\n" "$line"; \
> -		        done ))
> +                        | while read -r line; do \
> +                                [[ "$line" =~ \.(device|snapshot|socket|timer)$ ]] || printf "%s\n" "$line"; \
> +                        done ))
>  
>          elif __contains_word "$verb" ${VERBS[STOPPABLE_UNITS]}; then
>                  comps=$( __filter_units_by_property CanStop yes \


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list