gsu: Add missing declaration of a local variable.
[gsu.git] / misc / gsu / subcommand
index ddb351a..43f7df7 100644 (file)
@@ -62,7 +62,7 @@ _gsu_print_available_commands()
 
 gsu_complete_options()
 {
-       local opts="$1" cword="$2" cur
+       local opts="$1" cword="$2" cur opt
        local -a words
 
        shift 2