You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
360 B
13 lines
360 B
#ifndef LIGHTNING_VERSION_H
|
|
#define LIGHTNING_VERSION_H
|
|
#include "config.h"
|
|
#include <ccan/opt/opt.h>
|
|
|
|
char *version_and_exit(const void *unused);
|
|
const char *version(void);
|
|
|
|
#define opt_register_version() \
|
|
opt_register_noarg("--version|-V", version_and_exit, NULL, \
|
|
"print version to standard output and exit")
|
|
|
|
#endif /* LIGHTNING_VERSION_H */
|
|
|