File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -827,10 +827,14 @@ _labgrid_client_xlx()
827827 *)
828828 local args
829829 _labgrid_count_args " @ (-n| --name)" || return
830- # only complete second argument
831- [ " $args " -ne 2 ] && return
832-
833- COMPREPLY=( $( compgen -W " xsdb program-bitstream boot" -- " $cur " ) )
830+ case " $args " in
831+ 2)
832+ COMPREPLY=( $( compgen -W " xsdb program-bitstream boot" -- " $cur " ) )
833+ ;;
834+ 3)
835+ _filedir
836+ ;;
837+ esac
834838 ;;
835839 esac
836840}
@@ -854,10 +858,14 @@ _labgrid_client_intel()
854858 *)
855859 local args
856860 _labgrid_count_args " @ (-n| --name)" || return
857- # only complete second argument
858- [ " $args " -ne 2 ] && return
859-
860- COMPREPLY=( $( compgen -W " program-bitstream" -- " $cur " ) )
861+ case " $args " in
862+ 2)
863+ COMPREPLY=( $( compgen -W " program-bitstream" -- " $cur " ) )
864+ ;;
865+ 3)
866+ _filedir
867+ ;;
868+ esac
861869 ;;
862870 esac
863871}
You can’t perform that action at this time.
0 commit comments