Skip to content
Snippets Groups Projects
Verified Commit d7897e85 authored by rahix's avatar rahix
Browse files

fix(code-style): Error if no sources given


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 8e26bdaf
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,11 @@ if ! command -v python3 >/dev/null 2>&1; then
exit 127
fi
if [ "$#" == 0 ]; then
echo "usage: $0 <source.c> ..."
exit 1
fi
script_dir="$(dirname "$0")"
for source_file in "$@"; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment