changeset 1311 | db8bebb08f8f |
parent 1308 | 2073e5a71008 |
child 1339 | f351d1a07d75 |
1310:7e8a55c9ee5c | 1311:db8bebb08f8f |
---|---|
1 #!/bin/bash |
1 #!/bin/bash |
2 |
|
3 shopt -s extglob |
|
2 |
4 |
3 _hg_commands() |
5 _hg_commands() |
4 { |
6 { |
5 local commands="$(hg -v help | sed -e '1,/^list of commands:/d' \ |
7 local commands="$(hg -v help | sed -e '1,/^list of commands:/d' \ |
6 -e '/^global options:/,$d' \ |
8 -e '/^global options:/,$d' \ |