🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #797

tar-1.11 instructs user to use +help, rather than --help

#797
From: J.T. Conklin
Date: Thu, 10 Sep 1992 06:31
41 lines
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);

  		}
Technical Details
Message-ID: <9209102031.AA23531@rangoon.gain.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!gain.COM!jtc

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!gain.COM!jtc
From: jtc@gain.COM (J.T. Conklin)
Subject: tar-1.11 instructs user to use +help, rather than --help
Message-ID: <9209102031.AA23531@rangoon.gain.com>
Sender: gnulists@ai.mit.edu
Reply-To: jtc@gain.com
Organization: GAIN Technology Inc., Palo Alto, CA
Distribution: gnu
Date: Thu, 10 Sep 1992 06:31:03 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 42