# disable file-completion complete -c lxc-info -f complete -c lxc-info -n '__fish_use_subcommand' -s n -l name -r -d 'Name of the container' -a "(lxc-ls | string split ' ')" complete -c lxc-info -n '__fish_use_subcommand' -s c -l config -r -d 'Show configuration variable KEY from running container' complete -c lxc-info -n '__fish_use_subcommand' -s i -l ips -d 'Show the IP addresses' complete -c lxc-info -n '__fish_use_subcommand' -s p -l pid -d 'Show the process ID of the init container' complete -c lxc-info -n '__fish_use_subcommand' -s S -l stats -d 'Show usage statistics' complete -c lxc-info -n '__fish_use_subcommand' -s H -l no-humanize -d 'Show stats as raw numbers, not humanized' complete -c lxc-info -n '__fish_use_subcommand' -s s -l state -d 'Show the state of the container' complete -c lxc-info -n '__fish_use_subcommand' -l rcfile -r -F -d 'Load configuration file FILE' # Common options complete -c lxc-info -n '__fish_use_subcommand' -s o -l logfile -r -F -d 'Output log to FILE instead of stderr' complete -c lxc-info -n '__fish_use_subcommand' -s l -l logpriority -r -d 'Set log priority to LEVEL' -a 'FATAL ALERT CRIT WARN ERROR NOTICE INFO DEBUG TRACE' complete -c lxc-info -n '__fish_use_subcommand' -s q -l quiet -d "Don't produce any output" complete -c lxc-info -n '__fish_use_subcommand' -s P -l lxcpath -r -F -d 'Use specified container path' complete -c lxc-info -n '__fish_use_subcommand' -l help -d 'Show help information' complete -c lxc-info -n '__fish_use_subcommand' -l usage -d 'Show a short usage message' complete -c lxc-info -n '__fish_use_subcommand' -l version -d 'Print the version number'