Re: [sr #111051] New commands: `-h`, `--help`

2024-04-18 Thread Greg Wooledge
On Thu, Apr 18, 2024 at 03:20:21PM +0700, Robert Elz wrote: > ps: bash could probably lose the "be a login shell" '-' from argv[0][0] > for error messages. It isn't helpful. It's a tiny bit helpful for someone who knows what it means, and harmless for people who don't know. I'd prefer it to be

Re: [sr #111051] New commands: `-h`, `--help`

2024-04-18 Thread Greg Wooledge
On Thu, Apr 18, 2024 at 03:03:32AM -0400, anonymous wrote: > they gave me reply: > > 'There isn't command `-h` on my Limux' > > Therefore, after calling -h/--help, I suggest displaying a message like: Adding a /usr/bin/-h command or whatever sounds like overkill to me. I wouldn't want that

Re: [sr #111051] New commands: `-h`, `--help`

2024-04-18 Thread Robert Elz
Date:Thu, 18 Apr 2024 03:03:32 -0400 (EDT) From:anonymous Message-ID: <20240418-070332.sv0.619...@savannah.gnu.org> | Arguments are given after the program name and are used to modify the | program's operation. E.g.: usage: | | somecommand --help But when I

[sr #111051] New commands: `-h`, `--help`

2024-04-18 Thread anonymous
URL: Summary: New commands: `-h`, `--help` Group: The GNU Bourne-Again SHell Submitter: None Submitted: Thu 18 Apr 2024 07:03:31 AM UTC Category: None