yait

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8a28118672a90e90868cc402ac4047194baf9c90
parent 4fef50297da0537db854b55b406e7dcf10bf4a4f
Author: vx-clutch <[email protected]>
Date:   Mon, 20 Oct 2025 21:36:56 -0400

some changes were made?

Diffstat:
Msrc/yait.c | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/yait.c b/src/yait.c @@ -8,6 +8,7 @@ // Usage: yait [OPTION]... <PROJECT> +#include <config.h> #include <errno.h> #include <getopt.h> #include <limits.h> @@ -22,8 +23,6 @@ #include <stdbool.h> #include <time.h> -#include <config.h> - #include "licence.h" #include "../lib/err.h" #include "../lib/fs.h" @@ -105,16 +104,15 @@ int main(int argc, char **argv) int optc; int lose = 0; char *package; - set_prog_name(argv[0]); - - exit_status = EXIT_SUCCESS; bool quiet = false; bool force = false; bool editor = false; bool shell = false; char *author = get_name(); + exit_status = EXIT_SUCCESS; int year = get_year(); licence_t licence = BSD; + set_prog_name(argv[0]); parse_standard_options(argc, argv, print_help, print_version);