summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/sconfig/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sconfig/main.c b/util/sconfig/main.c
index 74193e6740..f6ec0e200b 100644
--- a/util/sconfig/main.c
+++ b/util/sconfig/main.c
@@ -557,7 +557,7 @@ static void usage(void)
int main(int argc, char** argv) {
- if (argc < 3)
+ if (argc != 3 && argc != 5)
usage();
char *mainboard=argv[1];