We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 010690f commit c47df2bCopy full SHA for c47df2b
1 file changed
cmd/os_datadisk_move.go
@@ -19,6 +19,9 @@ data partition to a new harddisk. The system reboots afterwards!
19
ha os datadisk move /dev/sda
20
`,
21
ValidArgsFunction: func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
22
+ if len(args) != 0 {
23
+ return nil, cobra.ShellCompDirectiveNoFileComp
24
+ }
25
if toComplete == "" {
26
return []string{"/dev/"}, cobra.ShellCompDirectiveNoSpace
27
}
0 commit comments