search for: shortopts

Displaying 15 results from an estimated 15 matches for "shortopts".

Did you mean: shortopt
2019 Jul 01
8
[PATCH 0/6] p2v: start making it independent
As preliminary steps in splitting virt-p2v to an own repository, start making p2v more independent within libguestfs. This is accomplished by the following changes: - generate the p2v kernel config sources & docs at build time using a Perl script, rather than the generator (so no need for OCaml when building from git, and no generated sources in dist tarballs) - create two local test
2014 Nov 26
5
[PATCH] tools: implement --short-options
Just like --long-options, it makes it possible to know which short options are supported by each tool; this can help improving the bash completion, for example. --- align/scan.c | 3 +++ builder/cmdline.ml | 1 + cat/cat.c | 3 +++ cat/filesystems.c | 3 +++ cat/log.c | 3 +++ cat/ls.c | 3 +++
2017 Mar 24
1
[PATCH] bash: Implement tab completion for virt-win-reg (RHBZ#1367738).
...bash/virt-v2v-copy-to-local @@ -15,28 +15,39 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -_virt_v2v_copy_to_local () +_guestfs_options_only () { local cur prev words cword split - local shortopts longopts items + local shortopts longopts tool="$1" _init_completion -s || return case "$cur" in --*) # --options - longopts="$(virt-v2v-copy-to-local --long-options)" + longopts="$($tool --long-options)...
2018 Jun 29
3
p2v: Various cleanups.
These are a prelude to fixing https://bugzilla.redhat.com/show_bug.cgi?id=1590220 A lot of the virt-p2v configuration code was duplicated manually. These changes make sure that most of it is generated. Rich.
2016 Aug 25
7
[PATCH 0/5] bash completion: Add missing bash completion scripts (RHBZ#1367738).
This implements most of RHBZ#1367738. I didn't bother with virt-v2v-copy-to-local and virt-win-reg, but all the other tools now have full bash completion. Rich.
2017 Mar 22
2
[PATCH] bash: Add a bash completion script for virt-v2v-copy-to-local (RHBZ#1367738).
.... +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +_virt_v2v_copy_to_local () +{ + local cur prev words cword split + local shortopts longopts items + + _init_completion -s || return + + case "$cur" in + --*) + # --options + longopts="$(virt-v2v-copy-to-local --long-options)" + COMPREPLY=( $(compgen -W "$longopts" -- "$cur") ) + retur...
2017 Jun 10
0
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
...veadm-cmd.c", line 548.37: 1506-285 (S) The indirection operator cannot be applied to a pointer to an incomplete struct or union. make[1]: *** [doveadm-cmd.o] Error 1 +428 static void +429 doveadm_build_options(const struct doveadm_cmd_param par[], +430 string_t *shortopts, +431 ARRAY_TYPE(getopt_option_array) *longopts) +432 { +433 for(size_t i=0; par[i].name != NULL; i++) { +434 struct option longopt; +435 +436 i_zero(&longopt); +437 longopt.name = par[i].name;...
2020 Mar 10
1
[v2v PATCH] bash: remove extra registrations
...l +++ b/bash/virt-v2v-copy-to-local @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -_guestfs_options_only () +_v2v_options_only () { local cur prev words cword split local shortopts longopts tool="$1" @@ -42,18 +42,6 @@ _guestfs_options_only () _virt_v2v_copy_to_local () { - _guestfs_options_only "virt-v2v-copy-to-local" + _v2v_options_only "virt-v2v-copy-to-local" } && complete -o default -F _virt_v2v_copy_to_local virt-v2v-co...
2019 Jul 11
1
[p2v PATCH] Add bash completion scripts
...etails. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +_p2v_options_only () +{ + local cur prev words cword split + local shortopts longopts tool="$1" + + _init_completion -s || return + + case "$cur" in + --*) + # --options + longopts="$($tool --long-options)" + COMPREPLY=( $(compgen -W "$longopts" -- "$cur") ) + return ;...
2016 Aug 25
0
[PATCH 5/5] bash completion: Add missing bash completion scripts (RHBZ#1367738).
...ls. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -_guestfs_options_only () -{ - local cur prev words cword split - local shortopts longopts tool="$1" - - _init_completion -s || return - - case "$prev" in - --align-first) - COMPREPLY=( $( compgen -W "never always auto" -- "$cur") ) - return ;; - --check-tmpdir) - COMPREPLY=( $( compgen...
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am
2023 Jan 30
1
[p2v PATCH 02/11] Introduce "p2v.output.misc" for passing "-oo" options to virt-v2v
From: Alban Lecorps <alban.lecorps at ubisoft.com> The "-oo" option will be useful primarily for the openstack output mode (currently disabled, from commit b74c126629e3, "Ignore 'openstack' driver", 2020-03-16). Use a ConfigStringList knob for "-oo", and for each OPTION=VALUE element in that list, create a separate "-oo OPTION=VALUE" option.
2016 Oct 09
6
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
Hi. I finally decided it was really time to stop being lazy and really move away from gmail. After I have a server in my basement using power, etc. So I turned on the imap provided - and did not quite cry - it will have to do for now, but imap2 is wanting. A real server yes, but not Linux. (Using linux would require another server AND I would feel I am being lazy again). So, I downloaded
2023 Jan 30
11
[p2v PATCH 00/11] Expose virt-v2v's "-oo"; re-enable openstack
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1792141 Let the user pass "-oo" options from the kernel cmdline and from the GUI to virt-v2v. This is primarily useful with the OpenStack output mode, so reenable that mode. Cc: Alban Lecorps <alban.lecorps at ubisoft.com> Laszlo Alban Lecorps (1): Introduce "p2v.output.misc" for passing "-oo" options
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...os.system("rm -rf %s") % target + else: + os.system("shred -u /config%s") % target + os.system("shred -u %s") % target + + +# compat function to handle different udev versions +def udev_info(name, query): + # old udev command with shortopts + udev_cmd = "udevinfo -n %s -q %s" % (name, query) + udev = subprocess.Popen(udev_cmd, shell=True, stdout=PIPE, stderr=STDOUT) + udev_output = udev.stdout.read() + udev.poll() + udev_rc = udev.returncode() + if udev_rc > 0: + udev_cmd = "udevadm info --na...