Skip to content

Commit 330c764

Browse files
committed
Bad CLI syntax now handled as fatal
1 parent 99f059f commit 330c764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apt-up

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Parse_Arguments() {
175175
"--no-cache-clean") ENABLE_CACHE_CLEAN=false ;;
176176
"--install") Create_Sample_Config; Create_Hook_Dirs; exit 0 ;;
177177
"--help") Show_Help; exit 0 ;;
178-
*) cecho "[WARNING] Unknown argument: $arg" boldyellow ; Show_Help ; exit 1 ;;
178+
*) cecho "[FATAL] Unknown argument: $arg" red ; Show_Help ; exit 1 ;;
179179
esac
180180
done
181181
}

0 commit comments

Comments
 (0)