Re: [Qemu-block] interactive qemu-img

2018-07-30 Thread Programmingkid
> On Jul 30, 2018, at 6:14 PM, Nir Soffer wrote: > > On Mon, Jul 30, 2018 at 11:09 PM Eric Blake wrote: > On 07/30/2018 02:54 PM, Nir Soffer wrote: > > >>> $ qemu-img > >>> qemu-img: Not enough arguments > >>> Try 'qemu-img --help' for more information > > > > > > This is not user

Re: [Qemu-block] interactive qemu-img

2018-07-30 Thread Nir Soffer
On Mon, Jul 30, 2018 at 11:09 PM Eric Blake wrote: > On 07/30/2018 02:54 PM, Nir Soffer wrote: > > >>> $ qemu-img > >>> qemu-img: Not enough arguments > >>> Try 'qemu-img --help' for more information > > > > > > This is not user friendly, but unfortunately very common. > > It can be improved by

Re: [Qemu-block] interactive qemu-img

2018-07-30 Thread Jeff Cody
On Mon, Jul 30, 2018 at 04:57:54PM -0400, Programmingkid wrote: > > > On Jul 30, 2018, at 3:55 PM, Jeff Cody wrote: > > > > On Mon, Jul 30, 2018 at 12:30:01PM -0400, Programmingkid wrote: > >> > >>> On Jul 30, 2018, at 11:09 AM, Eric Blake wrote: > >>> > >>> On 07/28/2018 08:22 PM,

Re: [Qemu-block] interactive qemu-img

2018-07-30 Thread Programmingkid
> On Jul 30, 2018, at 3:55 PM, Jeff Cody wrote: > > On Mon, Jul 30, 2018 at 12:30:01PM -0400, Programmingkid wrote: >> >>> On Jul 30, 2018, at 11:09 AM, Eric Blake wrote: >>> >>> On 07/28/2018 08:22 PM, Programmingkid wrote: I thought of a way to make qemu-img much more user-friendly.

Re: [Qemu-block] interactive qemu-img

2018-07-30 Thread Programmingkid
> On Jul 30, 2018, at 3:54 PM, Nir Soffer wrote: > > On Mon, Jul 30, 2018 at 8:00 PM Programmingkid > wrote: > > > On Jul 30, 2018, at 11:09 AM, Eric Blake wrote: > > > > On 07/28/2018 08:22 PM, Programmingkid wrote: > >> I thought of a way to make qemu-img much more user-friendly. When

Re: [Qemu-block] interactive qemu-img

2018-07-30 Thread Eric Blake
On 07/30/2018 02:54 PM, Nir Soffer wrote: $ qemu-img qemu-img: Not enough arguments Try 'qemu-img --help' for more information This is not user friendly, but unfortunately very common. It can be improved by treating no arguments as --help, like git. I somewhat disagree that git is a good

Re: [Qemu-block] interactive qemu-img

2018-07-30 Thread Jeff Cody
On Mon, Jul 30, 2018 at 12:30:01PM -0400, Programmingkid wrote: > > > On Jul 30, 2018, at 11:09 AM, Eric Blake wrote: > > > > On 07/28/2018 08:22 PM, Programmingkid wrote: > >> I thought of a way to make qemu-img much more user-friendly. When the user > >> opens qemu-img without any arguments,

Re: [Qemu-block] interactive qemu-img

2018-07-30 Thread Nir Soffer
On Mon, Jul 30, 2018 at 8:00 PM Programmingkid wrote: > > > On Jul 30, 2018, at 11:09 AM, Eric Blake wrote: > > > > On 07/28/2018 08:22 PM, Programmingkid wrote: > >> I thought of a way to make qemu-img much more user-friendly. When the > user opens qemu-img without any arguments, we could

Re: [Qemu-block] interactive qemu-img

2018-07-30 Thread Programmingkid
> On Jul 30, 2018, at 11:09 AM, Eric Blake wrote: > > On 07/28/2018 08:22 PM, Programmingkid wrote: >> I thought of a way to make qemu-img much more user-friendly. When the user >> opens qemu-img without any arguments, we could present a prompt that guides >> the user on making an image

Re: [Qemu-block] interactive qemu-img

2018-07-30 Thread Eric Blake
On 07/28/2018 08:22 PM, Programmingkid wrote: I thought of a way to make qemu-img much more user-friendly. When the user opens qemu-img without any arguments, we could present a prompt that guides the user on making an image file. This illustrates what I think should happen. Please select