fish: Move -d option parsing to common function.

This is essentially just code motion, except:

(1) It cleans up a few variable declarations which were implicitly
used by the old macro that aren't needed any more.

(2) The options are reordered alphabetically.
This commit is contained in:
Richard W.M. Jones
2013-12-16 15:09:58 +00:00
parent d9826467c2
commit 28adf7cea6
7 changed files with 30 additions and 21 deletions

View File

@@ -217,13 +217,6 @@ Using this flag is mostly equivalent to using the C<add-domain> command,
with C<readonly:true> if the I<--ro> flag was given, and
with C<format:...> if the I<--format=...> flag was given.
=item B<--no-dest-paths>
Don't tab-complete paths on the guest filesystem. It is useful to be
able to hit the tab key to complete paths on the guest filesystem, but
this causes extra "hidden" guestfs calls to be made, so this option is
here to allow this feature to be disabled.
=item B<--echo-keys>
When prompting for keys and passphrases, guestfish normally turns
@@ -369,6 +362,13 @@ See L</PREPARED DISK IMAGES> below.
Disable autosync. This is enabled by default. See the discussion
of autosync in the L<guestfs(3)> manpage.
=item B<--no-dest-paths>
Don't tab-complete paths on the guest filesystem. It is useful to be
able to hit the tab key to complete paths on the guest filesystem, but
this causes extra "hidden" guestfs calls to be made, so this option is
here to allow this feature to be disabled.
=item B<--pipe-error>
If writes fail to pipe commands (see L</PIPES> below), then the