Thread View: gnu.utils.bug
1 messages
1 total messages
Started by J.T. Conklin
Thu, 10 Sep 1992 06:31
tar-1.11 instructs user to use +help, rather than --help
Author: J.T. Conklin
Date: Thu, 10 Sep 1992 06:31
Date: Thu, 10 Sep 1992 06:31
41 lines
1522 bytes
1522 bytes
When a user invokes tar-1.11 with bad command line arguments, it
instructs the user to use +help, rather than --help.
Patch follows:
*** OLD/tar.c Thu Sep 10 13:23:37 1992
--- tar.c Thu Sep 10 13:23:58 1992
***************
*** 280,286 ****
break;
case CMD_NONE:
msg("you must specify exactly one of the r, c, t, x, or d options\n");
! fprintf(stderr,"For more information, type ``%s +help''.\n",tar);
exit(EX_ARGSBAD);
}
if (f_volno_file)
--- 280,286 ----
break;
case CMD_NONE:
msg("you must specify exactly one of the r, c, t, x, or d options\n");
! fprintf(stderr,"For more information, type ``%s --help''.\n",tar);
exit(EX_ARGSBAD);
}
if (f_volno_file)
***************
*** 616,622 ****
case '?':
badopt:
! msg("Unknown option. Use '%s +help' for a complete list of options.", tar);
exit(EX_ARGSBAD);
}
--- 616,622 ----
case '?':
badopt:
! msg("Unknown option. Use '%s --help' for a complete list of options.", tar);
exit(EX_ARGSBAD);
}
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads