mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 06:48:05 +00:00
14 lines
302 B
C
14 lines
302 B
C
|
#include <ccan/opt/opt.h>
|
||
|
#include <ccan/opt/opt.c>
|
||
|
#include <ccan/opt/helpers.c>
|
||
|
#include <ccan/opt/parse.c>
|
||
|
#include <ccan/opt/usage.c>
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
opt_register_noarg("-v", opt_version_and_exit,
|
||
|
(const char *)"1.2.3",
|
||
|
(const char *)"Print version");
|
||
|
return 0;
|
||
|
}
|