[Libosinfo] [PATCH] install-script tool: Display names of generated files

Daniel P. Berrange berrange at redhat.com
Thu Jan 31 15:03:24 UTC 2013


On Thu, Jan 31, 2013 at 03:33:08PM +0100, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
> 
> ---
>  tools/osinfo-install-script.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/osinfo-install-script.c b/tools/osinfo-install-script.c
> index fabce96..0f5656b 100644
> --- a/tools/osinfo-install-script.c
> +++ b/tools/osinfo-install-script.c
> @@ -228,6 +228,7 @@ static gboolean generate_script(OsinfoOs *os)
>                         error->message ? error->message : "unknown");
>              goto cleanup;
>          }
> +        g_print ("%s\n", osinfo_install_script_get_output_filename(script));
>      }
>      ret = TRUE;

If you're going todo this, can you also add a '-q' / '--quiet' command
line flag to allow it to be surpressed.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the Libosinfo mailing list