mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 15:01:32 -04:00
26c8cdd221
* git subrepo clone git@github.com:EllipticEllipsis/fado.git tools/fado subrepo: subdir: "tools/fado" merged: "d202857b" upstream: origin: "git@github.com:EllipticEllipsis/fado.git" branch: "master" commit: "d202857b" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * Makefile adjustments and additions to build fado * git subrepo pull --force tools/fado subrepo: subdir: "tools/fado" merged: "46c4d751" upstream: origin: "git@github.com:EllipticEllipsis/fado.git" branch: "master" commit: "46c4d751" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * git subrepo pull --force tools/fado subrepo: subdir: "tools/fado" merged: "88114ebc" upstream: origin: "git@github.com:EllipticEllipsis/fado.git" branch: "master" commit: "88114ebc" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * Fix typo in makefile * Fix it, maybe? * git subrepo pull tools/fado subrepo: subdir: "tools/fado" merged: "f7efb10a9" upstream: origin: "git@github.com:EllipticEllipsis/fado.git" branch: "master" commit: "f7efb10a9" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * Update build tools
26 lines
679 B
C
26 lines
679 B
C
/* Copyright (C) 2021 Elliptic Ellipsis */
|
|
/* SPDX-License-Identifier: AGPL-3.0-only */
|
|
#pragma once
|
|
|
|
#include <getopt.h>
|
|
#include <unistd.h>
|
|
|
|
typedef struct {
|
|
struct option longOpt;
|
|
char* helpArg;
|
|
char* helpMsg;
|
|
} OptInfo;
|
|
|
|
typedef struct {
|
|
char* helpArg;
|
|
char* helpMsg;
|
|
} PosArgInfo;
|
|
|
|
/* Formatting sizes used by Help_PrintHelp. Change them before calling Help_PrintHelp to use custom values */
|
|
extern size_t helpTextWidth;
|
|
extern size_t helpDtIndent;
|
|
extern size_t helpDdIndent;
|
|
|
|
void Help_PrintHelp(const char* prologue, size_t posArgCount, const PosArgInfo* posArgInfo, size_t optCount,
|
|
const OptInfo* optInfo, const char* epilogue);
|