On Wed, Jun 22, 2011 at 03:04:02PM +0100, Daniel P. Berrange wrote:
Is it possible to make 'options' the 3rd parameter, and optional, so you don't need todo
<fs> mount-9p "" org.kernel.other /tmp/
Which is the common case.
It certainly is. Try the attached (first patch is identical to the earlier version). The syntax in guestfish is now: mount-9p org.kernel.other /tmp or: mount-9p org.kernel.other /tmp options:ro or you can quote the optional arg, but note that quotes have to go around the whole string, eg: mount-9p org.kernel.other /tmp "options:ro" Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora