version: remove product name
We only ship one binary now. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
c95e73ee61
commit
09b166d71e
|
@ -382,7 +382,7 @@ main(int argc, char **argv)
|
|||
switch(opt)
|
||||
{
|
||||
case 'v':
|
||||
eprint_version("awesome");
|
||||
eprint_version();
|
||||
break;
|
||||
case 'h':
|
||||
exit_help(EXIT_SUCCESS);
|
||||
|
|
|
@ -30,12 +30,11 @@
|
|||
* \param executable program name
|
||||
*/
|
||||
void
|
||||
eprint_version(const char *const executable)
|
||||
eprint_version(void)
|
||||
{
|
||||
printf("%s (awesome) " AWESOME_VERSION
|
||||
printf("awesome " AWESOME_VERSION
|
||||
" (" AWESOME_RELEASE ")\n"
|
||||
" • Build:",
|
||||
executable);
|
||||
" • Build:");
|
||||
#if defined(__DATE__) && defined(__TIME__)
|
||||
printf(" " __DATE__ " " __TIME__);
|
||||
#endif
|
||||
|
|
|
@ -22,6 +22,6 @@
|
|||
#ifndef AWESOME_COMMON_VERSION_H
|
||||
#define AWESOME_COMMON_VERSION_H
|
||||
|
||||
void eprint_version(const char *const executable) __attribute__ ((noreturn));
|
||||
void eprint_version(void) __attribute__ ((noreturn));
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue