fix format
All checks were successful
pyrite-dev/taiga/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-03-08 22:32:33 +09:00
commit 55aa66a7db
Signed by: nishi
GPG key ID: 27EF69B208EB9343
12 changed files with 143 additions and 209 deletions

View file

@ -7,16 +7,13 @@ int main(int argc, char** argv) {
char** target_argv = malloc(sizeof(*target_argv));
target_argv[0] = NULL;
printf("Taiga, static website generator - run `%s help' for help\n\n",
argv[0]);
printf("Taiga, static website generator - run `%s help' for help\n\n", argv[0]);
for(i = 1; i < argc; i++) {
if(argv[i][0] == '-') {
if(action != NULL)
continue;
if(action != NULL) continue;
} else {
if(action != NULL)
continue;
if(action != NULL) continue;
action = argv[i];
free(target_argv);
@ -25,8 +22,7 @@ int main(int argc, char** argv) {
}
}
if(action == NULL)
action = "site";
if(action == NULL) action = "site";
if(strcmp(action, "site") == 0) {
return action_site(target_argc, target_argv);