mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
initctl: move bug report+homepage from help to version
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
6a5a6ac62f
commit
d945f4960b
1 file changed
+6
-6
+6
-6
@@ -519,7 +519,12 @@ static int do_utmp(char *file)
|
|||||||
|
|
||||||
static int show_version(char *arg)
|
static int show_version(char *arg)
|
||||||
{
|
{
|
||||||
puts("v" PACKAGE_VERSION);
|
puts(PACKAGE_STRING);
|
||||||
|
printf("Bug report address: %-40s\n", PACKAGE_BUGREPORT);
|
||||||
|
#ifdef PACKAGE_URL
|
||||||
|
printf("Project homepage: %s\n", PACKAGE_URL);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -894,11 +899,6 @@ static int usage(int rc)
|
|||||||
else
|
else
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
|
|
||||||
printf("Bug report address: %-40s\n", PACKAGE_BUGREPORT);
|
|
||||||
#ifdef PACKAGE_URL
|
|
||||||
printf("Project homepage: %s\n", PACKAGE_URL);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user