complete-f-c opam -n'not __fish_opam_needs_command'-l'compat-mode-1.0'-d'Compatibility mode with OPAM 1.0'
complete-f-c opam -n'not __fish_opam_needs_command'-l debug -d'Print debug message on stdout.'
complete-f-c opam -n'not __fish_opam_needs_command'-l git-version -d'Print the git version if it exists and exit.'
complete-f-c opam -n'not __fish_opam_needs_command'-l no-aspcud -d'Do not use the external aspcud solver, even if available.'
complete-f-c opam -n'not __fish_opam_needs_command'-l no-base-packages -d'Do not install base packages (useful for testing purposes).'
complete-f-c opam -n'not __fish_opam_needs_command'-s q -l quiet -d'Be quiet when installing a new compiler.'
complete-f-c opam -n'not __fish_opam_needs_command'-s r -l root -d'Use ROOT as the current root path.'
complete-f-c opam -n'not __fish_opam_needs_command'-l strict -d'Fail whenever an error is found in a package definition or a configuration file. The default is to continue silently if possible.'
complete-f-c opam -n'not __fish_opam_needs_command'-l switch -d'Use SWITCH as the current compiler switch.'
complete-f-c opam -n'not __fish_opam_needs_command'-s v -l verbose -d'Be more verbose.'
complete-f-c opam -n'not __fish_opam_needs_command'-s y -l yes -d'Disable interactive mode and answer yes to all questions that would otherwise be asked to the user.'
complete-f-c opam -n'__fish_opam_using_command config'-a env -d'Return the environment variables PATH, MANPATH, OCAML_TOPLEVEL_PATH and CAML_LD_LIBRARY_PATH according to the currently selected compiler.'
complete-f-c opam -n'__fish_opam_using_command config'-a setup -d'Configure global and user parameters for OPAM. [see manpage]'#TODO
complete-f-c opam -n'__fish_opam_using_command config'-aexec-d'Execute the shell script given in parameter with the correct environment variables. [see manpage]'
complete-f-c opam -n'__fish_opam_using_command config'-a var -d'Return the value associated with the given variable. [see manpage]'
complete-f-c opam -n'__fish_opam_using_command config'-a list -d'Return the list of all variables defined in the listed packages. [see manpage]'
complete-f-c opam -n'__fish_opam_using_command config'-a subst -d'Substitute variables in the given files. The strings %{var}% are replaced by the value of the variable var [see manpage]'
complete-f-c opam -n'__fish_opam_using_command config'-a includes -d'returns include options.'
complete-c opam -f-n"__fish_seen_subcommand_from switch; and not __fish_seen_subcommand_from $switchcommands"-a create -d'Create a new switch, and install the given compiler there'
complete-c opam -f-n"__fish_seen_subcommand_from switch; and not __fish_seen_subcommand_from $switchcommands"-a set -d'Set the currently active switch'
complete-c opam -f-n"__fish_seen_subcommand_from switch; and not __fish_seen_subcommand_from $switchcommands"-a remove -d'Remove the given switch from disk'
complete-c opam -n"__fish_seen_subcommand_from switch; and not __fish_seen_subcommand_from $switchcommands"-a export -d'Save the current switch state to a file'
complete-c opam -n"__fish_seen_subcommand_from switch; and not __fish_seen_subcommand_from $switchcommands"-a import -d'Import a saved switch state'
complete-c opam -f-n"__fish_seen_subcommand_from switch; and not __fish_seen_subcommand_from $switchcommands"-a reinstall -d'Reinstall the given compiler switch and all its packages'
complete-c opam -f-n"__fish_seen_subcommand_from switch; and not __fish_seen_subcommand_from $switchcommands"-a list -d'Lists installed switches'
complete-c opam -f-n"__fish_seen_subcommand_from switch; and not __fish_seen_subcommand_from $switchcommands"-a list-available -d'Lists base packages that can be used to create a new switch'
complete-c opam -f-n"__fish_seen_subcommand_from switch; and not __fish_seen_subcommand_from $switchcommands"-a show -d'Prints the name of the current switch'
complete-c opam -f-n"__fish_seen_subcommand_from switch; and not __fish_seen_subcommand_from $switchcommands"-a set-base -d'Sets the packages forming the immutable base for the selected switch'
complete-c opam -f-n"__fish_seen_subcommand_from switch; and not __fish_seen_subcommand_from $switchcommands"-a link -d'Sets a local alias for a given switch'