Index: trunk/src/main.c =================================================================== --- trunk/src/main.c (revision 13828) +++ trunk/src/main.c (revision 13829) @@ -279,8 +279,7 @@ } /* action table number of columns for a single action */ -#define PCB_ACTION_ARGS_WIDTH 5 - +const int PCB_ACTION_ARGS_WIDTH = 5; const char *pcb_action_args[] = { /*short, -long, action, help, hint-on-error */ NULL, "-show-actions", "PrintActions()", "Print all available actions (human readable) and exit", NULL, Index: trunk/src/main_act.c =================================================================== --- trunk/src/main_act.c (revision 13828) +++ trunk/src/main_act.c (revision 13829) @@ -92,9 +92,10 @@ } extern const char *pcb_action_args[]; +extern const int PCB_ACTION_ARGS_WIDTH; static int help_main(void) { const char **cs; - for(cs = pcb_action_args; cs[2] != NULL; cs += 4) { + for(cs = pcb_action_args; cs[2] != NULL; cs += PCB_ACTION_ARGS_WIDTH) { fprintf(stderr, "%s [", Progname); if (cs[0] != NULL) fprintf(stderr, "-%s", cs[0]);