umask --help

2014-07-07 Thread Notes Jonny
Hello Thank you for developing bash. I am using GNU Bash-4.0 Would you consider adding a --help option for "umask" please? (I understand this is a built in command) Maybe also --version I was just hoping to find some help for it. "info umask" and "man umask" also don't say anything. Regards, Jon

Re: umask --help

2014-07-07 Thread Chris Down
Hi Jon, As is standard with other buitins, umask is documented at `help umask`: chris@gopher:~$ help umask umask: umask [-p] [-S] [mode] Display or set file mode mask. Sets the user file-creation mask to MODE. If MODE is omitted, prints the current value

Re: umask --help

2014-07-07 Thread Chris F.A. Johnson
On Mon, 7 Jul 2014, Notes Jonny wrote: ... Would you consider adding a --help option for "umask" please? (I understand this is a built in command) Maybe also --version I was just hoping to find some help for it. "info umask" and "man umask" also don't say anything. help umask

Re: umask --help

2014-07-07 Thread Notes Jonny
On Mon, Jul 7, 2014 at 7:34 PM, Chris Down wrote: > Hi Jon, > > As is standard with other buitins, umask is documented at `help umask`: > > chris@gopher:~$ help umask > umask: umask [-p] [-S] [mode] > Display or set file mode mask. > > Sets the user file-creation mask to MO

Re: umask --help

2014-07-07 Thread Eric Blake
On 07/07/2014 12:34 PM, Chris Down wrote: > Hi Jon, > > As is standard with other buitins, umask is documented at `help umask`: That said, POSIX allows, and ksh already supports, the use of --help as an option to ALL builtins. It might be nice if bash were to take a leaf from ksh and add generic