complete$rpm_install-l aid -d(N_"Add suggested packages to the transaction set when needed")
complete$rpm_install-l allfiles -d(N_"Installs or upgrades all the files in the package, even if they aren't needed (missingok) and don't exist")
complete$rpm_install-l badreloc -d(N_"Used with --relocate, permit relocations on all file paths, not just those OLD-PATH's included in the binary package relocation hint(s)")
complete$rpm_install-l excludepath -d(N_"Don't install files whose name begins with specified path")-xa"(__fish_complete_directory (commandline -ct) 'Skip installation of files in this directory')"
complete$rpm_install-l excludedocs -d(N_"Don't install any files which are marked as documentation")
complete$rpm_install-l force -d(N_'Same as using --replacepkgs, --replacefiles, and --oldpackage')
complete$rpm_install-s h -lhash-d(N_'Print 50 hash marks as the package archive is unpacked')
complete$rpm_install-l ignoresize -d(N_"Don't check for sufficient disk space before installation")
complete$rpm_install-l ignorearch -d(N_"Allow installation or upgrading even if the architectures of the binary package and host don't match")
complete$rpm_install-l ignoreos -d(N_"Allow installation or upgrading even if the operating systems of the binary package and host don't match")
complete$rpm_install-l oldpackage -d(N_'Allow an upgrade to replace a newer package with an older one')
complete$rpm_install-l percent -d(N_'Print percentages as files are unpacked from the package archive. This is intended to make rpm easy to run from other tools')
complete$rpm_install-l prefix -d(N_'For relocatable binary packages, translate all file paths that start with the installation prefix in the package relocation hint(s) to NEWPATH')-xa"(__fish_complete_directory (commandline -ct) 'Directory prefix for relocatable packages')"
complete$rpm_install-l relocate -x-d(N_"Translate all paths that start with first half of following parameter to second half of following parameter")
complete$rpm_install-l repackage -d(N_'Re-package the files before erasing')
complete$rpm_install-l replacefiles -d(N_'Install the packages even if they replace files from other, already installed, packages')
complete$rpm_install-l replacepkgs -d(N_'Install the packages even if some of them are already installed on this system')
complete$rpm_install-l test -d(N_"Don't install the package, simply check for and report potential conflicts")
complete$rpm_query-l changelog -d(N_'Display change information for the package')
complete$rpm_query-s c -l configfiles -d(N_'List only configuration files (implies -l)')
complete$rpm_query-s d -l docfiles -d(N_'List only documentation files (implies -l)')
complete$rpm_query-l dump -d(N_'Dump file information. Must be used with at least one of -l, -c, -d')
complete$rpm_query-l filesbypkg -d(N_'List all the files in each selected package')
complete$rpm_query-s i -l info -d(N_'Display package information, including name, version, and description. Uses --queryformat if specified')
complete$rpm_query-l last -d(N_'Orders the package listing by install time')
complete$rpm_query-s l -l list -d(N_'List files in package')
complete$rpm_query-l provides -d(N_'List capabilities this package provides')
complete$rpm_query-s R -l requires -d(N_'List packages on which this package depends')
complete$rpm_query-l scripts -d(N_'List the package specific scriptlets')
complete$rpm_query-s s -l state -d(N_'Display the states of files in the package. The state of each file is one of normal, not installed, or replaced')
complete$rpm_query-l triggers -d(N_'Display the trigger scripts contained in the package')
complete$rpm_query-l triggerscripts -d(N_'Display the trigger scripts contained in the package')
complete$rpm_select-s a -l all -d(N_'Query all installed packages')
complete$rpm_select-s f -l file -d(N_'Query package owning specified file')-r
complete$rpm_select-l fileid -d(N_'Query package that contains a given file identifier, i.e. the MD5 digest of the file contents')-x
complete$rpm_select-s g -l group -d(N_'Query packages with the specified group')-x
complete$rpm_select-l hdrid -d(N_'Query package that contains a given header identifier, i.e. the SHA1 digest of the immutable header region')-x
complete$rpm_select-s p -l package -d(N_'Query an (uninstalled) package in specified file')-xa"(__fish_complete_suffix (commandline -ct) .rpm 'Query package file')"
complete$rpm_select-l pkgid -d(N_'Query package that contains a given package identifier, i.e. the MD5 digest of the combined header and payload contents')-x
complete$rpm_select-l specfile -d(N_'Parse and query specified spec-file as if it were a package')-xa"(__fish_complete_suffix (commandline -ct) .spec 'Query package spec file')"
complete$rpm_select-l tid -d(N_'Query package(s) that have the specified TID (transaction identifier)')-x
complete$rpm_select-l triggeredby -d(N_'Query packages that are triggered by the specified packages')-x-a"(__fish_print_packages)"
complete$rpm_select-l whatprovides -d(N_'Query all packages that provide the specified capability')-x
complete$rpm_select-l whatrequires -d(N_'Query all packages that requires the specified capability for functioning')-x
set-- rpm_mode-c rpm -n'__fish_contains_opt -s e -s i -s F -s V -s U -s q erase install freshen verify upgrade query; if test $status = 0; false; else; true; end'