save
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Format_Index: p
|
||||
Format_Index: p
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
PACKAGE := %s
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Format_Index: a, p, p, d, y, a, a, p
|
||||
Format_Index: a, p, p, d, y, p, a, p
|
||||
This is the README file for the %s %s distribution.
|
||||
%s %s
|
||||
|
||||
|
||||
50
t/main.x
Normal file
50
t/main.x
Normal file
@@ -0,0 +1,50 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user