Commit e7d9c418 authored by Jeromy Johnson's avatar Jeromy Johnson Committed by GitHub

Merge pull request #3369 from nathanmusoke/fix/complete_bash_completion

bash_completion: Add a couple missing commands
parents 65001365 ac4200f1
...@@ -314,7 +314,12 @@ _ipfs_resolve() ...@@ -314,7 +314,12 @@ _ipfs_resolve()
_ipfs_stats() _ipfs_stats()
{ {
_ipfs_comp "bw --help" _ipfs_comp "bitswap bw repo --help"
}
_ipfs_stats_bitswap()
{
_ipfs_help_only
} }
_ipfs_stats_bw() _ipfs_stats_bw()
...@@ -322,6 +327,11 @@ _ipfs_stats_bw() ...@@ -322,6 +327,11 @@ _ipfs_stats_bw()
_ipfs_comp "--peer= --proto= --poll --interval= --help" _ipfs_comp "--peer= --proto= --poll --interval= --help"
} }
_ipfs_stats_repo()
{
_ipfs_comp "--human="
}
_ipfs_swarm() _ipfs_swarm()
{ {
_ipfs_comp "addrs connect disconnect filters peers --help" _ipfs_comp "addrs connect disconnect filters peers --help"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment