Skip to content

Commit

Permalink
added manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
KeithDHedger committed Dec 23, 2015
1 parent 6a0b979 commit e6374c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion XDecorations/src/globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

#define VERSION "0.1.9"
#define _SELECTPIXMAP(a,b) (a+(2*b))//a=ONPIXMAP b=xxxOnOff

#define MYEMAIL "keithhedger@keithhedger.darktech.org"
struct objects
{
Pixmap* pixmap[MAXFALLINGANIMATION];
Expand Down
6 changes: 6 additions & 0 deletions XDecorations/src/xdecorations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,12 @@ int main(int argc,char* argv[])
//print help
if(strcmp(argstr,"-help")==0)
doHelp();
if(strcmp(argstr,"-version")==0)
{
printf("XDecorations %s\n(c)2014-2015 K. D. Hedger - %s\n",VERSION,MYEMAIL);
printf("Released under the gpl-3.0 license\n\n");
exit(0);
}
}

srand((int)time((long* )NULL));
Expand Down

0 comments on commit e6374c8

Please sign in to comment.