Skip to content

Commit

Permalink
op: direct command parsing stderr to /dev/null
Browse files Browse the repository at this point in the history
Closes #341
  • Loading branch information
scop committed Aug 25, 2019
1 parent 9e351e4 commit d10dcdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/op
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

_op_commands()
{
"$@" --help |
"$@" --help 2>/dev/null |
awk "/^(Available |Sub)commands/{flag=1;next}/^ /&&flag{print \$1}"
}

Expand Down

0 comments on commit d10dcdf

Please sign in to comment.