* Simon Ruderich (si...@ruderich.org) wrote: > This enables completion for the filename arguments. > > Suggested-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > Signed-off-by: Simon Ruderich <si...@ruderich.org>
Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > --- > hmp-commands.hx | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hmp-commands.hx b/hmp-commands.hx > index 79c158a140..5715bd7b51 100644 > --- a/hmp-commands.hx > +++ b/hmp-commands.hx > @@ -818,7 +818,7 @@ ETEXI > > { > .name = "memsave", > - .args_type = "val:l,size:l,filename:s", > + .args_type = "val:l,size:l,filename:F", > .params = "addr size file", > .help = "save to disk virtual memory dump starting at 'addr' > of size 'size'", > .cmd = hmp_memsave, > @@ -832,7 +832,7 @@ ETEXI > > { > .name = "pmemsave", > - .args_type = "val:l,size:l,filename:s", > + .args_type = "val:l,size:l,filename:F", > .params = "addr size file", > .help = "save to disk physical memory dump starting at 'addr' > of size 'size'", > .cmd = hmp_pmemsave, > -- > 2.17.1 > -- Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK