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
|
||||
shift;;
|
||||
-s) bufsz=$(eval echo $2)
|
||||
shift
|
||||
shift;;
|
||||
-d) enable=false
|
||||
disable=true
|
||||
|
@ -36,6 +37,7 @@ case "$opt" in
|
|||
-f) full=true
|
||||
shift;;
|
||||
-c) pcpu=per_cpu/cpu$(eval echo $2)/
|
||||
shift
|
||||
shift;;
|
||||
-h) help=true;
|
||||
shift;;
|
||||
|
|
Loading…
Reference in New Issue