Use PROGNAME_PROPERTIES for properties(1)
This commit is contained in:
parent
550b869dee
commit
a5841506c7
|
@ -52,8 +52,8 @@
|
||||||
#include "common.c"
|
#include "common.c"
|
||||||
|
|
||||||
/* constants */
|
/* constants */
|
||||||
#ifndef PROGNAME
|
#ifndef PROGNAME_PROPERTIES
|
||||||
# define PROGNAME "properties"
|
# define PROGNAME_PROPERTIES "properties"
|
||||||
#endif
|
#endif
|
||||||
#ifndef PREFIX
|
#ifndef PREFIX
|
||||||
# define PREFIX "/usr/local"
|
# define PREFIX "/usr/local"
|
||||||
|
@ -401,7 +401,7 @@ static void _error_response(GtkWidget * widget, gint arg, gpointer data)
|
||||||
|
|
||||||
static int _error_text(char const * message, int ret)
|
static int _error_text(char const * message, int ret)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s: %s\n", PROGNAME, message);
|
fprintf(stderr, "%s: %s\n", PROGNAME_PROPERTIES, message);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -493,7 +493,8 @@ static gboolean _properties_on_closex(gpointer data)
|
||||||
/* usage */
|
/* usage */
|
||||||
static int _usage(void)
|
static int _usage(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr, _("Usage: %s [-p plug-in] file...\n"), PROGNAME);
|
fprintf(stderr, _("Usage: %s [-p plug-in] file...\n"),
|
||||||
|
PROGNAME_PROPERTIES);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user