$NetBSD: patch-aa,v 1.1.1.1 2004/07/13 10:58:29 jmmv Exp $ --- xdkcal.c.orig 2000-02-24 14:11:20.000000000 +0200 +++ xdkcal.c @@ -218,9 +218,9 @@ int read_property() void short_usage() { fprintf(stderr, -"Usage: %s [-h][-x window_x][-y window_y][-f fontset][-C default_color] - [-H holiday_color][-T today_color][-M month_color][-t on/off] - [-p padding][-s style_num][-m on/off][-y on/off] +"Usage: %s [-h][-x window_x][-y window_y][-f fontset][-C default_color]\n\ + [-H holiday_color][-T today_color][-M month_color][-t on/off]\n\ + [-p padding][-s style_num][-m on/off][-y on/off]\n\ [-n num_week] [month [year]]\n",PACKAGE); } @@ -283,7 +283,7 @@ void init_args(int argc, char *argv[]) while(1) { - c = getopt_long_only(argc,argv, + c = getopt_long(argc,argv, "hx:y:f:C:H:S:T:M:t:p:s:m:w:n:Nv", long_opts,&opt_index); if(c == -1)