51 lines
1018 B
Plaintext
51 lines
1018 B
Plaintext
Format_Index: l, y, a, d, a
|
|
// SPDX-License-Identifier: %s
|
|
/*
|
|
* Copyright (C) %d, %s.
|
|
* Written by YOU (you@example.com)
|
|
*/
|
|
#include <stdlib.h>
|
|
|
|
static int exit_status;
|
|
|
|
static void print_help();
|
|
static void print_version();
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
exit_status = EXIT_SUCCESS;
|
|
|
|
return exit_status;
|
|
}
|
|
|
|
static void print_help()
|
|
{
|
|
printf("Usage: %%s [OPTION]...\n", PROGRAM);
|
|
fputs("\
|
|
%s.\n",
|
|
stdout);
|
|
puts("");
|
|
fputs("\
|
|
--help display this help and exit\n\
|
|
--version display version information and exit\n",
|
|
stdout);
|
|
/*
|
|
puts("");
|
|
fputs("\
|
|
--foo Enable the foo directive\n",
|
|
stdout);
|
|
*/
|
|
exit(exit_status);
|
|
}
|
|
|
|
static void print_version()
|
|
{
|
|
printf("%%s %%s %%d\n", prog_name, VERSION, COMMIT);
|
|
|
|
printf("Copyright (C) %%d %s.\n", YEAR);
|
|
|
|
puts("This is free software: you are free to change and redistribute it.");
|
|
puts("There is NO WARRANTY, to the extent permitted by law.");
|
|
exit(exit_status);
|
|
}
|