#ifndef BOREUTILS_H
#define BOREUTILS_H

#include <string.h>

static const char *BOREUTILS_VERSION = "0.0.0b1";

int has_arg(int argc, char **argv, char *search);
void bu_missing_argument(char *name);
int bu_handle_version(int argc, char **argv);


// FIXME: Having this in a header is definitely a hack.
int has_arg(int argc, char **argv, char *search)
{
    for (int idx = 1; idx < argc; idx++) {
        if (strcmp(argv[idx], search) == 0) {
            return 1;
        }
    }

    return 0;
}


void bu_missing_argument(char *name) {
    fprintf(stderr, "%s: Missing argument\nSee '%s --help' for more information.\n", name, name);
}


int bu_handle_version(int argc, char **argv) {
    if (has_arg(argc, argv, "--version")) {
        printf("%s (Boreutils) %s\n", argv[0], BOREUTILS_VERSION);
        return 1;
    }

    return 0;
}

#endif

#ifndef BOREUTILS_H
#define BOREUTILS_H

#include <string.h>

static const char *BOREUTILS_VERSION = "0.0.0b1";

int has_arg(int argc, char **argv, char *search);
void bu_missing_argument(char *name);
int bu_handle_version(int argc, char **argv);


// FIXME: Having this in a header is definitely a hack.
int has_arg(int argc, char **argv, char *search)
{
    for (int idx = 1; idx < argc; idx++) {
        if (strcmp(argv[idx], search) == 0) {
            return 1;
        }
    }

    return 0;
}


void bu_missing_argument(char *name) {
    fprintf(stderr, "%s: Missing argument\nSee '%s --help' for more information.\n", name, name);
}


int bu_handle_version(int argc, char **argv) {
    if (has_arg(argc, argv, "--version")) {
        printf("Boreutils %s v%s\n", argv[0], BOREUTILS_VERSION);
        return 1;
    }

    return 0;
}

#endif

--- 
+++ 
@@ -30,7 +30,7 @@
 
 int bu_handle_version(int argc, char **argv) {
     if (has_arg(argc, argv, "--version")) {
-        printf("Boreutils %s v%s\n", argv[0], BOREUTILS_VERSION);
+        printf("%s (Boreutils) %s\n", argv[0], BOREUTILS_VERSION);
         return 1;
     }
 
Change --version format to "<name> (Boreutils) <version>"
