complete -c ipsort -l generate-completions -d 'Generate shell completions for the given shell and print to stdout' -r -f -a "bash\t''
elvish\t''
fish\t''
powershell\t''
zsh\t''"
complete -c ipsort -s r -l reverse -d 'Reverse the sort order'
complete -c ipsort -l ipv6-first -d 'Sort IPv6 addresses before IPv4'
complete -c ipsort -s u -l unique -d 'Remove duplicate addresses (compared by normalized CIDR)'
complete -c ipsort -s i -l inline -d 'Reorder all IP tokens freely across the entire input'
complete -c ipsort -s n -l normalize -d 'Emit canonical network strings (clears host bits, adds /32 or /128)'
complete -c ipsort -l ips-only -d 'Strip all non-IP content and emit one bare address per line'
complete -c ipsort -l ips-only-with-structure -d 'Strip decoration but preserve non-IP lines as block separators'
complete -c ipsort -s a -l aggregate -d 'Merge adjacent CIDRs into their minimal supernet representation'
complete -c ipsort -s c -l check -d 'Check whether input is already sorted; exit 0 if so, 1 if not. No output is printed. Reports the first out-of-order line to stderr on failure'
complete -c ipsort -s h -l help -d 'Print help (see more with \'--help\')'
complete -c ipsort -s V -l version -d 'Print version'
