mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
10 lines
172 B
Bash
Executable File
10 lines
172 B
Bash
Executable File
#!/bin/sh
|
|
CFG_PATH=`dirname $0`/uncrustify.cfg
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo "usage `basename $0` file.(h/c)"
|
|
exit 1
|
|
fi
|
|
|
|
uncrustify -c ${CFG_PATH} --no-backup -lC $1
|