aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormallum <mallum@b067294f-1dea-0310-9683-c47a78595994>2005-02-22 20:11:07 +0000
committermallum <mallum@b067294f-1dea-0310-9683-c47a78595994>2005-02-22 20:11:07 +0000
commit09ffc89eea53c58d3b86204c7c1f2c337b9a57c1 (patch)
tree9ab4a338742fb5350dee3a374d446f53edbbce1b /src
parentd39d4b635e754a0faecedc2774330bbac0f40750 (diff)
downloadmatchbox-panel-09ffc89eea53c58d3b86204c7c1f2c337b9a57c1.tar.gz
matchbox-panel-09ffc89eea53c58d3b86204c7c1f2c337b9a57c1.tar.bz2
matchbox-panel-09ffc89eea53c58d3b86204c7c1f2c337b9a57c1.zip
make usage() display version
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel@1074 b067294f-1dea-0310-9683-c47a78595994
Diffstat (limited to 'src')
-rw-r--r--src/panel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panel.c b/src/panel.c
index 6c2daed..1f6656d 100644
--- a/src/panel.c
+++ b/src/panel.c
@@ -663,7 +663,7 @@ panel_set_theme_from_root_prop(MBPanel *panel)
void
panel_usage(char *bin_name)
{
- fprintf(stderr, "%s usage: %s [Options...]\n"
+ fprintf(stderr, "%s (%s) usage: %s [Options...]\n"
"Where options are;\n"
"-display, -d <X11 Display name>\n"
"-geometry, -g Use --size / --orientation instead.\n"
@@ -687,7 +687,7 @@ panel_usage(char *bin_name)
"--bgtrans, -bt <'yes'|transparency percentage>\n"
"*NOTE* setting the background here will disable the effect\n"
" of any external theme changes. \n"
- , bin_name, bin_name);
+ , bin_name, VERSION, bin_name);
exit(1);
}