Changeset 34 in Main for trunk/Server/main.c
- Timestamp:
- Sep 16, 2024, 10:15:59 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/main.c
r20 r34 40 40 } 41 41 confpath = argv[i]; 42 } else if(strcmp(argv[i], "--version") == 0 || strcmp(argv[i], "-V") == 0) { 43 printf("Tewi HTTPd Tewi/%s\n", tw_get_version()); 44 printf("Under public domain.\n"); 45 printf("Copyright (C) 2024 Nishi\n"); 46 return 0; 42 47 } else { 43 48 fprintf(stderr, "Unknown option: %s\n", argv[i]);
Note:
See TracChangeset
for help on using the changeset viewer.