[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sr #111051] New commands: `-h`, `--help`
From: |
Greg Wooledge |
Subject: |
Re: [sr #111051] New commands: `-h`, `--help` |
Date: |
Thu, 18 Apr 2024 07:26:09 -0400 |
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 to be present on every system in the world.
If you're maintaining a system that has extremely novice users on it,
you're going to be the one selecting their shell for them, so you can
just customize their shell.
E.g. add a -h() function in /etc/bash.bashrc (or whatever your Linux
distribution uses for that filename) which prints the message you'd
like your users to see.