Use PROGNAME_ICONLIST for iconlist

This commit is contained in:
Pierre Pronchery 2018-10-26 19:03:44 -03:00
parent e1a29c0f72
commit 81f2cbfa7a

View File

@ -30,8 +30,8 @@
#include <string.h> #include <string.h>
#include <Desktop.h> #include <Desktop.h>
#ifndef PROGNAME #ifndef PROGNAME_ICONLIST
# define PROGNAME "iconlist" # define PROGNAME_ICONLIST "iconlist"
#endif #endif
@ -205,8 +205,8 @@ static void _do_iconview(GtkWidget * iconview, GtkIconTheme * icontheme)
/* usage */ /* usage */
static int _usage(void) static int _usage(void)
{ {
fputs("Usage: " PROGNAME " [-t theme]\n" fputs("Usage: " PROGNAME_ICONLIST " [-t theme]\n"
" " PROGNAME " -l [-t theme]\n", stderr); " " PROGNAME_ICONLIST " -l [-t theme]\n", stderr);
return 1; return 1;
} }