utils/trace: fix argument parsing
Signed-off-by: Philippe Gerum <rpm@xenomai.org>
This commit is contained in:
parent
1565744da2
commit
f7c6c22963
|
@ -27,6 +27,7 @@ case "$opt" in
|
||||||
disable=false
|
disable=false
|
||||||
shift;;
|
shift;;
|
||||||
-s) bufsz=$(eval echo $2)
|
-s) bufsz=$(eval echo $2)
|
||||||
|
shift
|
||||||
shift;;
|
shift;;
|
||||||
-d) enable=false
|
-d) enable=false
|
||||||
disable=true
|
disable=true
|
||||||
|
@ -36,6 +37,7 @@ case "$opt" in
|
||||||
-f) full=true
|
-f) full=true
|
||||||
shift;;
|
shift;;
|
||||||
-c) pcpu=per_cpu/cpu$(eval echo $2)/
|
-c) pcpu=per_cpu/cpu$(eval echo $2)/
|
||||||
|
shift
|
||||||
shift;;
|
shift;;
|
||||||
-h) help=true;
|
-h) help=true;
|
||||||
shift;;
|
shift;;
|
||||||
|
|
Loading…
Reference in New Issue