Skip to content

Commit 9c76618

Browse files
committed
Python: CG trace: Make ./helper.sh show help again
1 parent 8057e11 commit 9c76618

File tree

1 file changed

+4
-1
lines changed
  • python/tools/recorded-call-graph-metrics

1 file changed

+4
-1
lines changed

python/tools/recorded-call-graph-metrics/helper.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ all() {
183183

184184

185185
COMMAND=${1:-"help"}
186-
shift
186+
187+
if [[ $# -ge 2 ]]; then
188+
shift
189+
fi
187190

188191
$COMMAND $@

0 commit comments

Comments
 (0)